GNOME Bugzilla – Bug 337421
[sunaudiosink] some fixes
Last modified: 2006-04-06 09:16:41 UTC
Attached find a patch that fixes the sunaudiosink to use spec->segsize and spec->segtotal in the prepare function to initialize the ringbuffer instead of using the buffer-time property. This makes sunaudiosink work like the recent fixes that wtay made to the esdsink.
Created attachment 62817 [details] [review] patch to fix sunaudiosink
Committed, thanks! 2006-04-06 Tim-Philipp Müller <tim at centricular dot net> Patch by: Brian Cameron <brian dot cameron at sun dot com> * sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_init), (gst_sunaudiosink_prepare), (gst_sunaudiosink_write): * sys/sunaudio/gstsunaudiosink.h: Use spec->segsize and spec->segtotal in the prepare function to initialise the ring buffer instead of using the buffer-time property (#337421).