<div>$B$*@$OC$K$J$j$^$9!#(B</div>
<div>$B@u0f$H?=$7$^$9!#(B</div>
<div> </div>
<div>Armadillo-500 $B$G%^%$%/F~NO$r%b%N%i%k$G(BWAV$B%U%!%$%k$K(B</div>
<div>$BJ]B8$7$?$$$N$G$9$,!"J]B8$7$?%U%!%$%k$rJ9$$$F$_$k$H!"(B</div>
<div>$B9b2;$G!"$+$D%(%3!<$N$+$+$C$?$h$&$J2;@<$K$J$C$F$7$^$$$^$9!#(B</div>
<div> </div>
<div>$B$d$C$?$3$H$H$7$F$O(B alsa-lib $B$H(B alsa-util (1.0.13)$B$r(B</div>
<div>$B%$%s%9%H!<%k$7$F!"(Barecord$B!J(Balsa-util $BFb$N%"%W%j%1!<%7%g%s!K(B</div>
<div>$B$r;H$C$F%^%$%/2;@<$N%U%!%$%k$X$NJ]B8$r9T$$$^$7$?!#(B</div>
<div> </div>
<div>[$B<B;\Nc(B]</div>
<div># arecord -t wav -d 10 -f S16_LE sample.wav</div>
<div> </div>
<div>$B$3$N(B sample.wav $B$r(BArmadillo-500$B>e!"$^$?$OB>$N(BPC$B$X(B</div>
<div>$B;}$C$F$$$C$F:F@8$9$k$H!">e5-$N$h$&$J>I>u$H$J$j$^$9!#(B</div>
<div>WAV$B$NGH7A$r8+$F$_$k$H!"F1$8GH7A$,(B2$B2sO"B3$GMh$F$$$k!"(B</div>
<div>$B$b$7$/$O!"GH7A$,;6$C$F$$$k(B</div>
<div>($BK\Mh(B1,2,3,4,5,...$B$HMh$kGH7A$,(B1,3,5,...,2,4,...)$B$N(B</div>
<div>$B$I$A$i$+$N8=>]$,5/$-$F$$$=$&$J46$8$G$9!#(B</div>
<div> </div>
<div>$B$?$@$7(B-c 2$B%*%W%7%g%s(B($B%9%F%l%*(B)$B$rIU$1$F<B9T$9$k$H(B</div>
<div>$B7k2L$N(Bwav$B%U%!%$%k$O@5$7$/O?2;$5$l$F$$$^$9!#(B</div>
<div> </div>
<div>$B$I$&$7$F$+$J$H;W$C$F(B sound\arm\mxc-alsa-i2s.c $B$r(B</div>
<div>$BD/$a$F$O$_$?$N$G$9$,!"$h$/$o$+$j$^$;$s!#(B</div>
<div> </div>
<div>$B5$$K$J$kE@$H$7$F$O!"2;8;%A%C%W$N9=@.E*$K$O!"(B</div>
<div>$B%"%W%jB&$,%9%F%l%*!"%b%N%i%k$N$I$A$i$rMW5a$7$h$&$,(B</div>
<div>$B%9%F%l%*!J$?$@$7:81&F1$82;!K$G%G!<%?$rAw$C$F$/$k$H(B</div>
<div>$B;W$&$N$G$9$,!"(Bmxc-alsa-i2s.c $BFb$N(B dma_size $B$O(B</div>
<div>$B%b%N%i%k$GO?2;;XDj$7$?>l9g!"%9%F%l%*$NH>J,$K$J$j$^$9!#(B</div>
<div># runtime->frame_bits $B$,(B 32 $B$+$i(B 16$B!!$K$J$j!"(B</div>
<div># frames_to_bytes()$B$NLa$jCM$,H>J,$K$J$k$N$G!#(B</div>
<div> </div>
<div>DMA 2ch$B$G<u?.$9$k$H$-$N@_Dj$d(Bcapture_copy()$B$O(B</div>
<div>$B%9%F%l%*!"%b%N%i%k$G=hM}$rJQ$($F$$$J$$$N$G!"(B</div>
<div>$B>e5-$N>r7o$+$i$$$/$H2;$rH>J,<h$j$3$\$7!"F1$82;$r(B2$BEY7+$jJV$9!)(B</div>
<div>$B$N$b@bL@$,$D$/$h$&$J5$$O$9$k$N$G$9$,!"CGG0!D(B</div>
<div> </div>
<div>$B$3$3$+$i$I$&$7$F$h$$$+J,$j$^$;$s!#(B</div>
<div>$B$I$J$?$+%"%I%P%$%9$rD:$1$^$;$s$G$7$g$&$+!)(B</div>
<div> </div>
<div>$B59$7$/$*4j$$$7$^$9!#(B</div>
<div> </div>
<div>$B@u0f(B</div>
<div> </div>