log ALSA kernel version earlier

This commit is contained in:
Glenn Maynard
2004-05-01 06:25:24 +00:00
parent 761bcf7eae
commit 084042fc47
+3 -3
View File
@@ -146,14 +146,14 @@ void Alsa9Buf::GetSoundCardDebugInfo()
return;
done = true;
InitializeErrorHandler();
if( DoesFileExist("/proc/asound/version") )
{
const CString ver = GetRedirContents("/proc/asound/version");
LOG->Info( "ALSA: %s", ver.c_str() );
}
InitializeErrorHandler();
int card = -1;
while( dsnd_card_next( &card ) >= 0 && card >= 0 )
{