Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-05 Thread Clemens Ladisch
Sid Boyce wrote: If you use hw, you bypass the automatic format conversion and resampling. So why do you want to use hw? Well, quisk is the program largely written in python and the typical configuration options are as shown. I have never been aware nor perhaps the author that hw imposed

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-04 Thread Sid Boyce
On 04/03/13 13:19, alsa-user-requ...@lists.sourceforge.net wrote: Sid Boyce wrote: aplay -Dhw:1 /jet.wav complained of format error saying available formats are S16_LE and S24_3LE. This is why you should generally use default:1 or plughw:1. aplay -Dplughw:1 /jet.wav works. It plays on the

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-04 Thread Clemens Ladisch
Sid Boyce wrote: On 04/03/13 13:19, alsa-user-requ...@lists.sourceforge.net wrote: Sid Boyce wrote: aplay -Dplughw:1 /jet.wav works. It plays on the correct sound device? It definitely plays on sound card 1 when addressed as -Dplughw:1. Nothing else seems to work for card 1 using aplay or

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-04 Thread Dave Lentz
Clemens, I've seen another report of puilseaudio not respecting ALSA device names: http://ubuntuforums.org/showthread.php?t=2117772 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-04 Thread Clemens Ladisch
Dave Lentz wrote: Clemens, I've seen another report of puilseaudio not respecting ALSA device names: http://ubuntuforums.org/showthread.php?t=2117772 The command aplay -d 'hw:0,0' audio.wav tells the computer to play the file with a duration of hw:0,0 seconds. The device name would be

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-04 Thread Sid Boyce
On 04/03/13 19:30, alsa-user-requ...@lists.sourceforge.net wrote: Sid Boyce wrote: On 04/03/13 13:19,alsa-user-requ...@lists.sourceforge.net wrote: Sid Boyce wrote: aplay -Dplughw:1 /jet.wav works. It plays on the correct sound device? It definitely plays on sound card 1 when addressed

[Alsa-user] Sound from second sound card -- HOW?

2013-03-03 Thread Sid Boyce
root@sdrbox:~# cat /proc/asound/cards 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xfae78000 irq 22 1 [Pro]: USB-Audio - SB X-Fi Surround 5.1 Pro Creative Technology Ltd SB X-Fi Surround 5.1 Pro at usb-:00:04.0-3,

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-03 Thread Clemens Ladisch
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

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-03 Thread Sid Boyce
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

Re: [Alsa-user] Sound from second sound card -- HOW?

2013-03-03 Thread Clemens Ladisch
Sid Boyce wrote: aplay -Dhw:1 /jet.wav complained of format error saying available formats are S16_LE and S24_3LE. This is why you should generally use default:1 or plughw:1. aplay -Dplughw:1 /jet.wav works. It plays on the correct sound device? Regards, Clemens