Re: [Jack-Devel] How to use jackd as a 'system-wide' server?

PrevNext  Index
DateSat, 12 May 2018 15:52:41 +0300
From Thomas Brand <[hidden] at trellis dot ch>
To[hidden] at chriscaudle dot org
Cc[hidden] at lists dot jackaudio dot org
In-Reply-ToChris Caudle Re: [Jack-Devel] How to use jackd as a 'system-wide' server?
> On Fri, May 11, 2018 3:59 pm, Chris Caudle wrote:
> In short, I think this is a bug in the asterisk implementation.  It
> should be checking how much free space is available and only attempting to
> write that, or  should just deal with write() not writing the full amount
> of data and calling write() again later to finish writing all the data.

Not writing the full amount of data won't be a solution, it just hides the
warning.

Writing it later seems to be no solution since the data is "gone" once the
function returns.

The ringbuffer actually solves this by providing that storage between
functions/threads. It just has to be big enough and read out at a rate
that will allow for more input data in time.

Greetings
Thomas
PrevNext  Index

1526129648.29972_0.ltw:2, <fc904be99489b250fa586f7ed3f00489.squirrel at ips73 dot ips dot ch>