>Thanks. I'll try this. Not only the hardware can be broken, but also >the driver I suppose. It seems like not all have support for >snd_pcm_link(), for example my driver for RME96 (I have to do some >maintenance work on that soon).
no code is needed to implement support for this. its handled by the ALSA mid-level layer. its possible that your driver has set or has not set some flag related to this, making the mid-level code think its not possible to do it. >> Implementing memory-mapped IO isn't exactly what you do in a day. >> jackit.sf.net or the shortly-to-be-released library I'm working on >> will do it for you. Just replace 'interrupt' above with a 'process' >> callback and you don't have to care about the exact workings of >> mmap'd ALSA at all. > >This is great, but I don't see why this particular thing would require >memory-mapped I/O. If one makes sure to write 4096 silent frames first >start playback/capture using snd_pcm_link(), it should work with >snd_pcm_read/write too, shouldn't it? yes, it should. --p ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel