-rw-r--r-- | library/qpeapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 3370264..755fb19 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -358,5 +358,5 @@ static void setVolume( int t = 0, int percent = -1 ) | |||
358 | // set both channels to same volume | 358 | // set both channels to same volume |
359 | vol |= vol << 8; | 359 | vol |= vol << 8; |
360 | ioctl( fd, MIXER_WRITE( SOUND_MIXER_PCM ), &vol ); | 360 | ioctl( fd, MIXER_WRITE( SOUND_MIXER_VOLUME ), &vol ); |
361 | ::close( fd ); | 361 | ::close( fd ); |
362 | } | 362 | } |