Open
Description
When going over the ALSA docs for portaudio I noticed you have to explicitly enable real time scheduling:
Of particular importance is PaAlsa_EnableRealtimeScheduling, which allows ALSA to run at a high priority to prevent ordinary processes on the system from preempting audio playback. Without this, low latency audio playback will be irregular and will contain frequent drop-outs. If this is turned on by the stream is started, the audio callback thread will be created with the FIFO scheduling policy, which is suitable for realtime operation.
We should turn it on, because it's (implicitly?) enabled on all other platforms according to @stijnvanbeek - resulting in less frequent drop-outs, although me personally have not noticed any.
Activity