> [...]
> Nope. The snd_pcm_mmap_appl_forward(pcm, size) is the appropriate.
> [...]
> I think that it should be opposite:
> 
> appl_ptr should be increased when application writes samples (commit) and
> hw_ptr should be increased when jack callback processes samples

Okay, your mail made everything fall into place in my mind :-)

I now have pmc->jack playback working nicely! Tomorrow I will do capture,
which should be a piece of cake. 

One question. For testing I use aplay, which now uses almost 100% cpu. Adding
a usleep in snd_pcm_jack_delay solves that problem, but I am sure it is not
the right way. How should I do it?

If I send you my code - once I have capture working - could you have a look at
it?

Thanks,

Maarten




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to