>i don't know, is my question off-topic? its more of a general audio programming question than something ALSA specific.
>Where can i get some help? >Would it help to mail the sources? >Is it an obvious mistake i make? >I really tried to describe the problem in detail, are there >any important points missing? i couldn't even really get my head around your problem description, because it takes such a fundamentally different approach to even describing what you're trying to do. if all you want to do is to play two samples at the same time, then system ("aplay -D some_share_PCM_device some_sample_file &"); should be enough. presumably you have more exacting needs than this, and/or have discovered that the share device does not work. typically programs that have multiple independent audio streams that need to be heard simultaneously mix them internally before delivering them to the audio API. in your case, you'd probably have a buffer that was zero-filled most of the time, and when you wanted to play samples, you'd additively store them in that buffer. then you just repeatedly deliver the buffer to ALSA over and over and over. when there is data in it, you'll hear it, when there isn't, you'll have silence. with some audio hardware, you can open the device multiple times with no effort. however, this is not a portable approach since most hardware does not allow this. --p _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel