On Thu, 18 Oct 2001, Paul Davis wrote:

> IIRC, it reflects issues to do with the layout of the h/w buffer. the
> results from mmap_begin() reflect the amount you can touch in one single
> contiguous operation (e.g. memcpy). keep in mind that the h/w buffer
> is a ring buffer, and the space available may actually be split across
> the buffer boundary. if you look at the audioengine code again, you'll
> see how i use this. we invoke the engine's clients to process each
> contiguous block.

This was my problem. I needed to rework some things and loop until I had
processed all of the available data before going back to the poll, which I just
got working.

So now, I think the gstreamer alsa plugin is fully functional for both capture
and playback, including multichannel devices (I've tested it on a hammerfall).
This is nice, I can't wait to start doing real work with it :)

Thank you very, very, very much. Your help has made things possible :)

cheers,

wingo

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to