update paths

This commit is contained in:
Glenn Maynard
2005-05-22 03:00:59 +00:00
parent 85f84ef81f
commit 81584d4879
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ CString LoadALSA()
* on use, and this would prevent that from happening. I don't know if anyone actually
* does that, though: they're often configured to load snd (the core module) if ALSA
* devices are accessed, but hardware drivers are typically loaded on boot. */
if( !IsADirectory("/proc/asound/") )
if( !IsADirectory("/rootfs/proc/asound/") )
return "/proc/asound/ does not exist";
ASSERT( Handle == NULL );
+2 -2
View File
@@ -167,10 +167,10 @@ void Alsa9Buf::GetSoundCardDebugInfo()
return;
done = true;
if( DoesFileExist("/proc/asound/version") )
if( DoesFileExist("/rootfs/proc/asound/version") )
{
CString sVersion;
GetFileContents( "/proc/asound/version", sVersion, true );
GetFileContents( "/rootfs/proc/asound/version", sVersion, true );
LOG->Info( "ALSA: %s", sVersion.c_str() );
}
@@ -124,7 +124,7 @@ CString RageSound_OSS::CheckOSSVersion( int fd )
*/
#ifndef FORCE_OSS
#define ALSA_SNDRV_OSS_VERSION ((3<<16)|(8<<8)|(1<<4)|(0))
if( version == ALSA_SNDRV_OSS_VERSION && IsADirectory("/proc/asound") )
if( version == ALSA_SNDRV_OSS_VERSION && IsADirectory("/rootfs/proc/asound") )
return "RageSound_OSS: ALSA detected. ALSA OSS emulation is buggy; use ALSA natively.";
#endif
if( version )