Diffstat (limited to 'core/multimedia/opieplayer/audiodevice.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/audiodevice.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/multimedia/opieplayer/audiodevice.h b/core/multimedia/opieplayer/audiodevice.h index ec70788..d59c388 100644 --- a/core/multimedia/opieplayer/audiodevice.h +++ b/core/multimedia/opieplayer/audiodevice.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
@@ -19,2 +19,4 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | // L.J.Potter added changes Fri 02-15-2002 | ||
21 | |||
20 | #ifndef AUDIODEVICE_H | 22 | #ifndef AUDIODEVICE_H |
@@ -22,3 +24,5 @@ | |||
22 | 24 | ||
25 | |||
23 | #include <qobject.h> | 26 | #include <qobject.h> |
27 | #include <sys/soundcard.h> | ||
24 | 28 | ||
@@ -31,3 +35,3 @@ class AudioDevice : public QObject { | |||
31 | public: | 35 | public: |
32 | AudioDevice( unsigned int freq = 44000, unsigned int channels = 2, unsigned int bytesPerSample = 2 ); | 36 | AudioDevice( unsigned int freq = 44000, unsigned int channels = 2, unsigned int bytesPerSample = AFMT_S16_LE ); |
33 | ~AudioDevice(); | 37 | ~AudioDevice(); |