Commit a06f74ac authored by Stéphane Borel's avatar Stéphane Borel
Browse files

. Test non bloquant de l'ouverture du dsp � l'initialisation du plugin

 pour le cas o� il est utilis� par esd
parent b207b8f8
...@@ -80,7 +80,7 @@ plugin_info_t * GetConfig( void ) ...@@ -80,7 +80,7 @@ plugin_info_t * GetConfig( void )
/* Test if the device can be opened */ /* Test if the device can be opened */
if ( (i_fd = open( main_GetPszVariable( AOUT_DSP_VAR, AOUT_DSP_DEFAULT ), if ( (i_fd = open( main_GetPszVariable( AOUT_DSP_VAR, AOUT_DSP_DEFAULT ),
O_WRONLY )) < 0 ) O_WRONLY|O_NONBLOCK )) < 0 )
{ {
p_info->i_score = 0; p_info->i_score = 0;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment