author | sandman <sandman> | 2002-06-09 23:37:26 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-09 23:37:26 (UTC) |
commit | 65b1a790493272a38b0ac44e219d5186168fabac (patch) (unidiff) | |
tree | b26ebca8644af8e7af68690f13c45cebfd747e49 /library/sound.h | |
parent | bb2f23307a6797c4b338b4504de39fdde3678893 (diff) | |
download | opie-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 !)
-rw-r--r-- | library/sound.h | 2 |
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 | ||
23 | class QString; | 23 | class QString; |
24 | class SoundData; | 24 | class SoundData; |
25 | 25 | ||
26 | class Sound { | 26 | class Sound { |
27 | public: | 27 | public: |
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 | ||
39 | private: | 41 | private: |
40 | SoundData* d; | 42 | SoundData* d; |
41 | }; | 43 | }; |
42 | 44 | ||
43 | #endif | 45 | #endif |