Pulseaudio: allow steam being suspended during export
When exporting long sessions with freewheeling, pulseaudio may meanwhile suspend the corked audio device. The "FAIL_ON_SUSPEND" option then prevents ardour to uncork it after export, and the audio-backend is halted.
This commit is contained in:
parent
da4d1cd779
commit
80e3c191e4
@ -297,8 +297,9 @@ PulseAudioBackend::init_pulse ()
|
||||
/* https://freedesktop.org/software/pulseaudio/doxygen/def_8h.html#a6966d809483170bc6d2e6c16188850fc */
|
||||
pa_stream_flags_t sf = (pa_stream_flags_t) (
|
||||
(int)PA_STREAM_START_CORKED
|
||||
#if 0 /* may happen during freewheel export */
|
||||
| (int)PA_STREAM_FAIL_ON_SUSPEND
|
||||
|
||||
#endif
|
||||
| (int)PA_STREAM_NO_REMAP_CHANNELS
|
||||
| (int)PA_STREAM_NO_REMIX_CHANNELS
|
||||
| (int)PA_STREAM_EARLY_REQUESTS
|
||||
|
Loading…
Reference in New Issue
Block a user