[email protected] wrote:
> hi all, out there.
> 
> i have an other idea to fix this problem.
> imo, we have to leave the jack realtime thread if hydrogen do things like 
> load whole soundlibrarys or load songs.
> this is no problem, because we need no rt thread just in this moments.
> 
> i think maybe we can do this with jack_cycle_wait (jack_client_t *client) and 
> jack_set_process_thread(...)
> see the api.  
> http://jackaudio.org/files/docs/html/group__NonCallbackAPI.html

I agree... but wouldn't it be simpler to change the AudioEngine state from 
STATE_READY to STATE_INITIALIZED and bail out of process() ??

Thanks,
Gabriel

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to