Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-26 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > aplay calls the ALSA API in the obvious way, just like > speaker-test, so I'm not sure why one works and one does not. I > suspect there might be a bug in the ALSA framework. > Do you have an idea how to find and fix this bug? I would

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-23 Thread Hauke Westemeier
de my self but if there is anything I can test to help to fix it, just let me know. Kind regards, Hauke Am 21.04.2016 um 02:46 schrieb Hauke Westemeier: > > > Hi, > > I just read in > https://www.hifiberry.com/guides/configuring-linux-3-18-x/ "Note > that aplayer won’

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-14 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, aplay -D plughw:1,0 /usr/share/sounds/alsa/Front_Right.wav gives Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_params:1297: Unable to install hw params: ACCESS:

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-17 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was away at the weekend, therefore I can only reply today. > Try running this program: > http://download.atmark-techno.com/misc/demos/usb-audio-a500-howto/hw_params.c > Does it report one channel? ./hw_params PLAYBACK Device: hw:0

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-19 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > Please try putting this into your ~/.asoundrc: > > pcm.stereoonly { type hw card 0 channels 2 } > > and then running "aplay -v -D plug:stereoonly > /.../Front_Center.wav". Does it work? Does it expand the file to > two channels? > I did so

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-20 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Are there any error messages in the system log? Every time I run aplay /usr/share/sounds/alsa/Front_Center.wav (and get the error) [38928.967567] pcm512x 1-004d: No SCLK, using BCLK: -2 is added to /var/log/syslog According to

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-15 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The content of /proc/asound/card0/pcm0p/sub0/hw_params is just "closed". This is as expected as the HifiBerry card is card1, its parameters given in /proc/asound/card1/pcm0p/sub0/hw_params are access: RW_INTERLEAVED format: S16_LE subformat: STD

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-20 Thread Hauke Westemeier
uke Am 21.04.2016 um 02:27 schrieb Hauke Westemeier: > >>>> Where can I find the source code of the driver? >>> >>> Which driver? > >> Whatever driver you're using. See /proc/asound/modules. (I'm >> asking because it does not appear to be part of the

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-20 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> Where can I find the source code of the driver? >> >> Which driver? > > Whatever driver you're using. See /proc/asound/modules. > (I'm asking because it does not appear to be part of the official > Linus Linux kernel.) > cat

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-18 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Front Right" is the name of the channel. There could be other > channels such as "Side Right", "Back Right"; and the channel in > the front would be called "Center". So although the file is called Front_Right.wav aplay should play it on both