<div dir="ltr"><div><div><div><div>On Wed, Jun 12, 2013 at 8:10 PM, ssm <<a href="mailto:salmin01010@gmail.com">salmin01010@gmail.com</a>> wrote:<br>> I know it's a long post, but even if you can help with a part of it, I'll be greatly benefited.<br>
<br>Hi Salmin,<br><br></div>You are using the ALSA API directly: if you're *sure* you want to do that, disregard the next bit.<br></div>Most pro-audio applications on linux use JACK, which  simplifies writing audio programs as it does all the backend stuff, and lets you get on with writing something useful :)<br>
<br></div>There's a repository of "open-audio-programming-tutorials" online, of which one is directed at writing a simple JACK client:<br><a href="https://github.com/harryhaaren/openAudioProgrammingTutorials/tree/master/jackClient">https://github.com/harryhaaren/openAudioProgrammingTutorials/tree/master/jackClient</a><br>
<br></div>Hope that sets you off in the right direction :) -Harry<br></div>