[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cdi-devel] [PATCH] CDI.audio

On Thu, Nov 18, 2010 at 08:24:48PM +0100, Max Reitz wrote:
> > But you have the mixer which must send its data to the hardware in the
> > same way. And now we've just recreated the same problem one level below.
> > So now the mixer has sent some data in advance to the hardware and needs
> > to take that back and possibly replace it by something else. This is
> > what I'm talking about.
> That shouldn't be a big deal. Just use transfer_data with the buffer which
> is currently in use.

Heh, I think I just start understanding the transfer_data interface.
I've been taking the size_t parameter as a buffer size instead of the
buffer index so far and assumed that every transferred buffer is queued
at the end.

Now things become much clearer and start to actually make sense.

> > PS: Any chance to tell your mailer to wrap lines properly?
> I think not, but I tried to wrap them manually.

I'm pretty sure that Thunderbird can do this, at least my version of it
does it right.