На Wed, 26 Oct 2011 16:35:18 +0700 IL'dar AKHmetgaleev <akhilman@xxxxxxxxx> записано: > Greetings > I both new EMU 0404 PCI-E card and now have a problem. > At 48000 all works fine > At 44100 jackd plays and captures with lags. > > I did some research with player and arecord. > Rig is simple: > analog input directly connected to analog output. > rate seted to 44100 > player plays music with 44100 and I can hear it in headphones without > distorion. > $ arecord -v -c 2 -r 44100 -f S16_LE -D hw:2 t.wav > records sound but after that it plays faster then original. > $ arecord -v -c 2 -r 48000 -f S16_LE -D hw:2 t.wav > same result. But when I play this sample at 44100 it plays right. > > Seems like capturing sample rate is wrong at 44100. > > system info: > linux 3.0.6-gentoo > 04:04.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 > Value I did some more research. baudline shows right sampling rate when I set 48000 Hz in alsamixer. But when I set 44100 it shows 43800 for 48000 in baudline. And 40000 for 44100. Seems alsa/card does unnecessary sampling rate conversion somewhere. 1 [EMU0404 ]: Audigy2 - E-mu 0404 PCIe [MAEM8984] E-mu 0404 PCIe [MAEM8984] (rev.0, serial:0x40051102) at 0xec00, irq 18 kernel module snd_emu10k1 alsa-info: http://www.alsa-project.org/db/?f=fd91c9196f4e43d51ed6cebc32a4828c5bc543e7 ===8@))-<-< Ильдар Ахметгалеев aka AkhIL Чт. окт. 27 11:14:49 NOVT 2011 Thu Oct 27 04:14:49 UTC 2011 ---------------------------------- Заходите в гости: http://akhil.ru ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user