Indeed, this is how I handle it as well.

On Wed, Feb 9, 2011 at 6:01 AM, Uli Franke <c...@nebadje.org> wrote:
> Problem:
>
> Jack is activated before the plugin's output formats are set. More detailed:
>
> xmms_jack_connect activates automatically jack processing
> (jack_activate). This leads to problems within xmms_jack_new: When
> xmms_jack_connect is called within xmms_jack_new no output format is set
> yet, but the output format can be set only after jack_client_open as the
> supported sample rate is fetched from the jack server. When jack calls
> xmms_jack_process in the meanwhile no output format is set and xmms2d
> will crash. I experienced this several times.
>
> Remedy:
>
> Remove jack_activate from xmms_jack_connect and call it when the whole
> setup process is done. I have implemented this in a special jack output
> plugin, so if a patch is needed I have to hack it yet for the standard
> jack output plugin.
>
> Regards
> Uli
>
> --
> _______________________________________________
> Xmms2-devel mailing list
> Xmms2-devel@lists.xmms.se
> http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel
>

--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to