From 084042fc476c2562b4c2eed80a727d1ca79fea06 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 1 May 2004 06:25:24 +0000 Subject: [PATCH] log ALSA kernel version earlier --- stepmania/src/arch/Sound/ALSA9Helpers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/arch/Sound/ALSA9Helpers.cpp b/stepmania/src/arch/Sound/ALSA9Helpers.cpp index c1634e2420..c6c4e8d8a9 100644 --- a/stepmania/src/arch/Sound/ALSA9Helpers.cpp +++ b/stepmania/src/arch/Sound/ALSA9Helpers.cpp @@ -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 ) {