<div class="gmail_quote">On Fri, Feb 3, 2012 at 00:04, Radek Polak <span dir="ltr"><<a href="mailto:psonek2@seznam.cz">psonek2@seznam.cz</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi,<br>you can find attached simple C program that does the sound routing between umts<br>and internal sound card on GTA04.<br>
<br>It's first working version. Now i plan to measure and minimize the latencies<br>and play some more with it. I hope the comments are enough to understands how<br>it works.<br><br>I used this tutorial [1] and sources of aplay. You can redistribute it as you<br>
wish, but it would be nice to share improvements.<br></blockquote>
<div>This looks very nice.</div>
<div>Thank you very much!</div>
<div> </div>
<div>Anyway, did you try to make it with -Wall?</div>
<div>Looks like you have some minor things:</div>
<div> </div>
<div><span lang="NO-BOK">fprintf(stderr, ": ", snd_strerror(snd_err));</span></div>
<div><span lang="NO-BOK"></span> </div>
<div><span lang="NO-BOK">should be:</span></div>
<div><span lang="NO-BOK">fprintf(stderr, ": %s", snd_strerror(snd_err));</span></div>
<div> </div></div>