Continuous output from alsasink (output silence when paused)

For our audio application we want to be always sending data, so if the pipeline is paused by the user silence should be sent to the ALSA device.

For a fixed sample rate and format, is there an option in alsasink or plug-in to do this?



Not in PAUSED state.

Perhaps you could split the audio producer and the audio output into separate pipelines with a wormhole/inter sink/source to link them, and then always keep the output running (in PLAYING state). Whether that’s a good idea or not and will work well depends a bit on your pipeline though, and might require some tight co-ordination (clock distribution etc)