mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 15:49:48 +00:00
Fix detecting if pulseaudio is running in audio=runtime mode.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user