Re: Sound from second sound card -- HOW?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I didn't customize /root/.asoundrc, there isn't one as user and there is 
no /etc/asound.conf.

"aplay -Dhw:1 /jet.wav" complained of format error saying available formats are S16_LE and S24_3LE.
I had also tried with different samplerates.

root@sdrbox:~# aplay -Dhw:1 -r44100 /jet.wav
Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:1081: Sample format not available
Available formats:
- S16_LE
- S24_3LE

root@sdrbox:~# aplay -Dhw:1 /jet.wav
Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:1081: Sample format not available
Available formats:
- S16_LE
- S24_3LE

"aplay -f S16_LE -Dhw:1 /jet.wav" and "aplay -f S24_3LE" still complain of format errors.

"aplay -Dplughw:1 /jet.wav" works.

root@sdrbox:~# file /jet.wav
/jet.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz

root@sdrbox:~# aplay -Dplughw:1 /jet.wav
Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono

BTW ... it's on Kubuntu 12.10 x86_64.
Regards
Sid.


On 03/03/13 18:41, Clemens Ladisch wrote:
> Sid Boyce wrote:
>> "aplay -Dhw:1 xxx.wav" still causes sound to come from hw:0.
> This is impossible, unless you have redefined the "hw" device.
> Please try removing all your customizations from ~/.asoundrc
> and /etc/asound.conf.
>
>
> Regards,
> Clemens
>


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux