author | llornkcor <llornkcor> | 2002-06-29 05:31:39 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-29 05:31:39 (UTC) |
commit | 0252b90a4b2e7be6186518eaa12ea03ef26ae08c (patch) (side-by-side diff) | |
tree | 89ee92dbbe5475da4c527a9fb67fd1bb9ccb1b14 /core/multimedia/opieplayer/audiodevice.cpp | |
parent | 444ccb7e2adcb9b6690c6f9bba2c9185213e3ee7 (diff) | |
download | opie-0252b90a4b2e7be6186518eaa12ea03ef26ae08c.zip opie-0252b90a4b2e7be6186518eaa12ea03ef26ae08c.tar.gz opie-0252b90a4b2e7be6186518eaa12ea03ef26ae08c.tar.bz2 |
take out resource intensive animated button, that I bet no one knew was there anyway.
Diffstat (limited to 'core/multimedia/opieplayer/audiodevice.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/audiodevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/audiodevice.cpp b/core/multimedia/opieplayer/audiodevice.cpp index 59e06a6..abbe5c8 100644 --- a/core/multimedia/opieplayer/audiodevice.cpp +++ b/core/multimedia/opieplayer/audiodevice.cpp @@ -193,7 +193,7 @@ 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; d->channels = chs; @@ -245,6 +245,7 @@ AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) { if(ioctl( d->handle, SNDCTL_DSP_CHANNELS, &d->channels )==-1) perror("ioctl(\"SNDCTL_DSP_CHANNELS\")"); } +// QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; d->bufferSize = sound_fragment_bytes; d->unwrittenBuffer = new char[d->bufferSize]; @@ -257,7 +258,6 @@ AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) { //if ( capabilities & DSP_CAP_REALTIME )qDebug( "Sound card has realtime sync" ); //if ( capabilities & DSP_CAP_TRIGGER ) qDebug( "Sound card has precise trigger" ); //if ( capabilities & DSP_CAP_MMAP ) qDebug( "Sound card can mmap" ); - // QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; } |