forked from enlightenment/efl
use WRN maco for complaining if alsa init fails.
SVN revision: 64935
This commit is contained in:
parent
a083e1cd7f
commit
bdc764dc16
|
@ -1,5 +1,5 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <edje_private.h>
|
#include "edje_private.h"
|
||||||
|
|
||||||
#define DEFAULT_SAMPLERATE 44100
|
#define DEFAULT_SAMPLERATE 44100
|
||||||
|
|
||||||
|
@ -14,10 +14,10 @@ multisense_sound_player_get(Edje_Multisense_Env *msenv)
|
||||||
player_plugin = remix_find_plugin(env, "alsa_snd_player");
|
player_plugin = remix_find_plugin(env, "alsa_snd_player");
|
||||||
if (!player_plugin)
|
if (!player_plugin)
|
||||||
{
|
{
|
||||||
printf("ALSA player_plugin init fail\n");
|
WRN("ALSA player_plugin init fail\n");
|
||||||
return remix_monitor_new(env);
|
return remix_monitor_new(env);
|
||||||
}
|
}
|
||||||
player = remix_new(env, player_plugin, NULL);
|
player = remix_new(env, player_plugin, NULL);
|
||||||
return player;
|
return player;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue