Delay recording processing after shutter sound
Delay recording processing after shutter sound

Heavy processing by GStreamer of the audio recording pipeline interferes
with playing of the shutter sound effect.  One period of the sound (960
samples at 48000 Hz) is repeated for a time proportional to the
compression time of the recorded audio data, because GStreamer is too
busy to service the audio device.

Delay processing until the shutter sound effect completion callback
occurs.

Affects XO-1.75 with a recent kernel.

See also https://dev.laptop.org/ticket/12867#comment:10

Signed-off-by: James Cameron <979be511e3d216882811a349af33a6d24f3f5f99@laptop.org>

godiard/record-activity