summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index c339a78..5d05ed5 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -357,7 +357,7 @@ static void setVolume( int t = 0, int percent = -1 )
int vol = muted ? 0 : percent;
// set both channels to same volume
vol |= vol << 8;
- ioctl( fd, MIXER_WRITE( 0 ), &vol );
+ ioctl( fd, MIXER_WRITE( SOUND_MIXER_PCM ), &vol );
::close( fd );
}
#endif