Fix detecting if pulseaudio is running in audio=runtime mode.

This commit is contained in:
Reece H. Dunn
2016-01-18 07:30:14 +00:00
parent 4b61d38551
commit 95c171831a
+1
View File
@@ -86,6 +86,7 @@ int wave_pulse_get_remaining_time(uint32_t sample, uint32_t *time);
// wrappers
void *wave_open(int srate, const char *device)
{
pulse_running = is_pulse_running();
if (pulse_running)
return wave_pulse_open(srate, device);
else