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
|
* 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
|
* 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. */
|
* 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";
|
return "/proc/asound/ does not exist";
|
||||||
|
|
||||||
ASSERT( Handle == NULL );
|
ASSERT( Handle == NULL );
|
||||||
|
|||||||
@@ -167,10 +167,10 @@ void Alsa9Buf::GetSoundCardDebugInfo()
|
|||||||
return;
|
return;
|
||||||
done = true;
|
done = true;
|
||||||
|
|
||||||
if( DoesFileExist("/proc/asound/version") )
|
if( DoesFileExist("/rootfs/proc/asound/version") )
|
||||||
{
|
{
|
||||||
CString sVersion;
|
CString sVersion;
|
||||||
GetFileContents( "/proc/asound/version", sVersion, true );
|
GetFileContents( "/rootfs/proc/asound/version", sVersion, true );
|
||||||
LOG->Info( "ALSA: %s", sVersion.c_str() );
|
LOG->Info( "ALSA: %s", sVersion.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ CString RageSound_OSS::CheckOSSVersion( int fd )
|
|||||||
*/
|
*/
|
||||||
#ifndef FORCE_OSS
|
#ifndef FORCE_OSS
|
||||||
#define ALSA_SNDRV_OSS_VERSION ((3<<16)|(8<<8)|(1<<4)|(0))
|
#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.";
|
return "RageSound_OSS: ALSA detected. ALSA OSS emulation is buggy; use ALSA natively.";
|
||||||
#endif
|
#endif
|
||||||
if( version )
|
if( version )
|
||||||
|
|||||||
Reference in New Issue
Block a user