summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-07-07 03:24:25 (UTC)
committer llornkcor <llornkcor>2002-07-07 03:24:25 (UTC)
commitf9ef0ea0b313a213516d15b0f4779efbb3cf5231 (patch) (side-by-side diff)
treea5be21dc21ed11fae9cf11a8dc396cd388f674b0
parent4f44b353d8211a51e2f0bfb609f2c2d79c44827f (diff)
downloadopie-f9ef0ea0b313a213516d15b0f4779efbb3cf5231.zip
opie-f9ef0ea0b313a213516d15b0f4779efbb3cf5231.tar.gz
opie-f9ef0ea0b313a213516d15b0f4779efbb3cf5231.tar.bz2
mute/unmute audio device when opening closing, since its fixed in volumeapplet
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/audiodevice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/multimedia/opieplayer/audiodevice.cpp b/core/multimedia/opieplayer/audiodevice.cpp
index abbe5c8..020f6be 100644
--- a/core/multimedia/opieplayer/audiodevice.cpp
+++ b/core/multimedia/opieplayer/audiodevice.cpp
@@ -194,5 +194,5 @@ void AudioDevice::setVolume( unsigned int leftVolume, unsigned int rightVolume,
AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) {
qDebug("creating new audio device");
-// QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE;
+ QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE;
d = new AudioDevicePrivate;
d->frequency = f;
@@ -246,5 +246,5 @@ AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) {
perror("ioctl(\"SNDCTL_DSP_CHANNELS\")");
}
-// QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE;
+ QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE;
d->bufferSize = sound_fragment_bytes;
@@ -265,5 +265,5 @@ AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) {
AudioDevice::~AudioDevice() {
qDebug("destryo audiodevice");
- // QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE;
+ QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE;
// #ifdef Q_OS_WIN32
@@ -276,5 +276,5 @@ AudioDevice::~AudioDevice() {
delete d;
//#endif
-// QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE;
+ QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE;
}