summaryrefslogtreecommitdiff
path: root/library/sound.h
authorsandman <sandman>2002-06-09 23:37:26 (UTC)
committer sandman <sandman>2002-06-09 23:37:26 (UTC)
commit65b1a790493272a38b0ac44e219d5186168fabac (patch) (unidiff)
treeb26ebca8644af8e7af68690f13c45cebfd747e49 /library/sound.h
parentbb2f23307a6797c4b338b4504de39fdde3678893 (diff)
downloadopie-65b1a790493272a38b0ac44e219d5186168fabac.zip
opie-65b1a790493272a38b0ac44e219d5186168fabac.tar.gz
opie-65b1a790493272a38b0ac44e219d5186168fabac.tar.bz2
Fixed sound handling for iPAQs
New feature: raise volume while playing Alarm sound (confiureable via qpe.conf / Sound / AlarmPercent -- needs a GUI !)
Diffstat (limited to 'library/sound.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/sound.h b/library/sound.h
index 98fae34..9f35107 100644
--- a/library/sound.h
+++ b/library/sound.h
@@ -19,25 +19,27 @@
19**********************************************************************/ 19**********************************************************************/
20#ifndef SOUND_H 20#ifndef SOUND_H
21#define SOUND_H 21#define SOUND_H
22 22
23class QString; 23class QString;
24class SoundData; 24class SoundData;
25 25
26class Sound { 26class Sound {
27public: 27public:
28 Sound(const QString& name); 28 Sound(const QString& name);
29 ~Sound(); 29 ~Sound();
30 30
31 void play(); 31 void play();
32 void playLoop(); 32 void playLoop();
33 void stop(); 33 void stop();
34 34
35 bool isFinished ( ) const;
36
35 static void soundAlarm(); 37 static void soundAlarm();
36 //static void soundClick(); 38 //static void soundClick();
37 //static void soundTap(); 39 //static void soundTap();
38 40
39private: 41private:
40 SoundData* d; 42 SoundData* d;
41}; 43};
42 44
43#endif 45#endif