I started to play with Alsa as a programmer. But I need basic help, which I can't find anywhere. I opened pcm.c and looked into the code. But I don't have too much clue about a lot of things.
- channels - is it what I hear in speakers ? How are those virtual channels linked to real speakers left, right, surround, front etc. - for stereo I suppose 2 channels, correct ? But left first or right first ?
- there are some methods of access to the device - what is the comparison of those methods ? Is it in speed, CPU consumption ? Why is there so much different methods ?
- if one speaks about period in SW_PARAMS - what does it mean exactly ?
- when should I use HW_PARAMS_ALLOCA and when HW_PARAMS_MALLOC ?
etc.
Is there any good doc treating this ? I found Alsa 0.9.0 howto by Mathias Nagorni, but if I put the code together and run it, during PCM_WRITEI I get error -14. Then, another tutorial is by Paul Davis but I am not too clever from it, too. There is no description of functions, when to use it, why to use it, what possibilities do I have...
Thanks for help,
Vasek
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user