update paths
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user