GNOME Bugzilla – Bug 655866
jackaudiosink: Don't call g_alloca in jack_process_cb
Last modified: 2011-08-03 07:45:21 UTC
g_alloca is not an RT-safe function, therefore it should not be called inside the jack_process_cb function. It is used to allocate pointers for samples. These pointers can be allocated in advance as is already the case in the jackaudiosrc plugin, in the gst_jack_audio_sink_allocate_channels function.
Created attachment 193121 [details] [review] Fix for 655866
commit c26442a3bae0f93947f7dc4f858b968a254842ee Author: Tristan Matthews <tristan@sat.qc.ca> Date: Tue Aug 2 22:05:08 2011 -0400 jackaudiosink: Don't call g_alloca() in process_cb g_alloca() is not RT-safe, so instead we should allocate the memory needed in advance. Fixes #655866