Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

sound.cpp File Reference

#include <qpe/resource.h>
#include <qpe/sound.h>
#include <qpe/qcopenvelope_qws.h>
#include <qsound.h>
#include <qfile.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
#include "sound.moc"

Include dependency graph for sound.cpp:

Go to the source code of this file.

Defines

#define WAVE_FORMAT_PCM   1

Functions

static int WAVsoundDuration (const QString &filename)
void register_qpe_sound_finished (Sound *snd, QObject *obj, const char *slot)


Define Documentation

#define WAVE_FORMAT_PCM   1
 


Function Documentation

void register_qpe_sound_finished Sound snd,
QObject *  obj,
const char *  slot
 

Definition at line 170 of file sound.cpp.

References Sound::d, and stopped.

Referenced by Opie::Core::ODevice::changeMixerForAlarm().

static int WAVsoundDuration const QString filename  )  [static]
 

Definition at line 37 of file sound.cpp.

References QFile::at(), d, data, input, IO_ReadOnly, QFile::open(), qstrncmp(), QFile::readBlock(), size, and WAVE_FORMAT_PCM.

Referenced by SoundData::SoundData().


Generated on Sat Nov 5 16:42:34 2005 for OPIE by  doxygen 1.4.2