02 января 2012, 19:55 от Piotr Domagalski <piotr.domagal...@mobile.put.edu.pl>:
> Hello!
>
> I've been struggling with using 3 USB cards ("C-Media USB Audio Device")
> for a while now.
>
> Using Ubuntu 11.10 (kernel 3.0.0-14) and no additional .asoundrc or
> /etc/asound.conf configuration I am able to play a wav on any of the
> attached sound cards. What I use is a simple "aplay -D plughw:X" where X
> is changed respectively: 1, 2 or 3 (hw0 is my internal sound card).
>
> The problem is that I am not able to play 3 simultaneous files on these
> 3 sounds cards. aplay with the first 2 cards succeeds but when I start
> playback on the third one I get:
>
> szalik@szalik:~/Desktop$ aplay -D plughw:3 fast_food_joint_1.wav
> Playing WAVE 'fast_food_joint_1.wav' : Signed 16 bit Little Endian, Rate
> 22050 Hz, Mono
> aplay: set_params:1123: Unable to install hw params:
> ACCESS: RW_INTERLEAVED
> FORMAT: S16_LE
> SUBFORMAT: STD
> SAMPLE_BITS: 16
> FRAME_BITS: 16
> CHANNELS: 1
> RATE: 22050
> PERIOD_TIME: (125011 125012)
> PERIOD_SIZE: (2756 2757)
> PERIOD_BYTES: (5512 5514)
> PERIODS: (3 5)
> BUFFER_TIME: 500000
> BUFFER_SIZE: 11025
> BUFFER_BYTES: 22050
> TICK_TIME: 0
>
> Can anyone point to me where does this limitation come from? Is it
> something in snd-usb-audio module?
>
> --
> Piotr Domagalski
> Mobile Systems Research Labs, Poznan University of Technology
>
Do the cards support "22050 Hz, Mono" ?
Regards,
Sergei.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user