*** kcontrol/info/info_linux.cpp Sat Jan 8 13:21:03 2000 --- kcontrol/info/info_linux.cpp.with-alsa-sound Sat Dec 11 23:55:29 1999 *************** *** 76,81 **** --- 76,82 ---- #define INFO_SOUND_AVAILABLE #define INFO_DEV_SNDSTAT "/dev/sndstat" #define INFO_SOUND "/proc/sound" + #define INFO_ASOUND "/proc/asound/sndstat" #define INFO_DEVICES_AVAILABLE #define INFO_DEVICES "/proc/devices" *************** *** 201,208 **** sorting_allowed = false; // no sorting by user ! if ( GetInfo_ReadfromFile( lBox, INFO_DEV_SNDSTAT, 0 )) return true; ! else ! return GetInfo_ReadfromFile( lBox, INFO_SOUND, 0 ); } bool GetInfo_Devices( QListView *lBox ) --- 202,211 ---- sorting_allowed = false; // no sorting by user ! if ( GetInfo_ReadfromFile( lBox, INFO_DEV_SNDSTAT, 0 )) return true; ! else if ( GetInfo_ReadfromFile( lBox, INFO_SOUND, 0 )) ! return true; ! else ! return GetInfo_ReadfromFile( lBox, INFO_ASOUND, 0 ); } bool GetInfo_Devices( QListView *lBox )