Avoid interception by PulseAudio (#2992)
This commit is contained in:
committed by
Tres Finocchiaro
parent
30f1e52be3
commit
d50ca512cd
@@ -54,6 +54,12 @@ AudioAlsa::AudioAlsa( bool & _success_ful, Mixer* _mixer ) :
|
||||
{
|
||||
_success_ful = false;
|
||||
|
||||
if( setenv( "PULSE_ALSA_HOOK_CONF", "/dev/null", 0 ) )
|
||||
{
|
||||
fprintf( stderr,
|
||||
"Could not avoid possible interception by PulseAudio\n" );
|
||||
}
|
||||
|
||||
int err;
|
||||
|
||||
if( ( err = snd_pcm_open( &m_handle,
|
||||
|
||||
Reference in New Issue
Block a user