Re: [Jack-Devel] jack_bufsize callbacks during jack_activate
Le 13 févr. 2011 à 19:37, torbenh a écrit :
>
> hi...
>
> in order to avoid the race conditions with a buffersize change between
> jack_client_open() and jack_activate() we are sending out a bufsize
> callback during jack_activate()
>
> i think its the right move. but there is no way to detect, whether the
> implementation in use is doing this.
>
> i also delayed the attachment of the buffer segment until
> jack_activate(). the result is undefined behaviour when calling
> jack_port_get_buffer() on an inactive client.
But why a client would call jack_port_get_buffer outside of the process callback? that is not called when the client is not activated?
>
> i am now seeing a few problems popping up. so it might make sense to
> revert these changes.
> anybody got an opinion on it ?
>
Which problems?
Stéphane
1297629611.26955_0.ltw:2,a <AD44AD85-DDB3-4A6D-AD0D-86C163FFAFFF at grame dot fr>