From 7c4c7920dd7c38db7a0bd49529ce0cd20a54a78a Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 07 Apr 2004 18:01:16 +0000 Subject: Using the right mixer helps.. lets see if h5xxx breaks again --- diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 3370264..755fb19 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( SOUND_MIXER_PCM ), &vol ); + ioctl( fd, MIXER_WRITE( SOUND_MIXER_VOLUME ), &vol ); ::close( fd ); } #endif -- cgit v0.9.0.2