Hello,
I followed the instructions in the "How to Setup" sticky post and can't get asound to record or play anything on the card. Recording from any number of channels (tried 1,2,3,4,5,6) fails and so does playing 1-8 channels.
Example
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@raspberrypi:~ $ arecord -d 10 -D hw:0,0 -r 96000 -f S24_LE -c 6 out.wav
Recording WAVE 'out.wav' : Signed 24 bit Little Endian, Rate 96000 Hz, Channels 6
arecord: set_params:1239: Channels count non available
asound: Channels count non available
Moderator: flatmax
Re: asound: Channels count non available
Hi there,
It is possible that your .asoundrc has been autowritten by the system.
Can you please copy your .asoundrc file here ? thanks
Also can you please show the output of the capitol letter version of the command you typed :
thanks
Matt
It is possible that your .asoundrc has been autowritten by the system.
Can you please copy your .asoundrc file here ? thanks
Also can you please show the output of the capitol letter version of the command you typed :
Code: Select all
arecord -L
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Re: asound: Channels count non available
Code: Select all
pi@raspberrypi:~ $ arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
anyChannelCount
sysdefault:CARD=audioinjectoroc
audioinjector-octo-soundcard,
Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Hardware device with all software conversions
Code: Select all
pi@raspberrypi:~ $ cat .asoundrc
pcm.!default {
# type hw
# card 0
type hw
slave.pcm "anyChannelCount"
}
ctl.!default {
type hw
card 0
}
pcm.anyChannelCount {
type route
slave.pcm "hw:0"
slave.channels 8;
ttable {
0.0 1
1.1 1
2.2 1
3.3 1
4.4 1
5.5 1
6.6 1
7.7 1
}
}
ctl.anyChannelCount {
type hw;
card 0;
}
Re: asound: Channels count non available
OK - there is a bug in the .asoundrc, it was originally set up correctly, however when you change any sound settings in pixel, it messes with the .asoundrc.
On line 4, can you change "type hw" to "type plug" as shown here in the manual settings section.
You can also try to stop if from being overwritten by making it read only :
If you want to change the file in future, you have to give it write permissions.
Let me know how that goes.
Oh by the way, you should be able to test that you can use any channel count by using the awnyChannelCount plugin manually (even though it should be default) :
thanks
Matt
On line 4, can you change "type hw" to "type plug" as shown here in the manual settings section.
You can also try to stop if from being overwritten by making it read only :
Code: Select all
chmod a-w ~/.asoundrc
Code: Select all
chmod ug-w ~/.asoundrc
Oh by the way, you should be able to test that you can use any channel count by using the awnyChannelCount plugin manually (even though it should be default) :
Code: Select all
aplay -DanyChannelCount file.wav
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Re: asound: Channels count non available
Great! After changing that and downgrading my alsa-utils version, everything is working smoothly.
Who is online
Users browsing this forum: No registered users and 3 guests