Hi. I'm trying to use your card in a "VOIP" application and when I'm using a stereo codec everything works perfectly.
call: SIP Progress: 100 trying -- your call is important to us (/)
audio: Set audio decoder: opus 48000Hz 2ch
audio: Set audio encoder: opus 48000Hz 2ch
audio tx pipeline: alsa ---> vumeter ---> opus
audio rx pipeline: alsa <--- vumeter <--- opus
But if I make a G711 call (Telephone codec) and only askes for one channel I'll get this error from Alsa.
As you can see I'm using the plughw device name from my application that should take care of nessasary conversions needed.
If I change to other sound card there is no problems, but I like this form factor..
audio: Set audio encoder: PCMA 8000Hz 1ch
alsa: cannot set parameters (Invalid argument)
alsa: init failed: err=-22
alsa: could not reset source 'plughw' (Invalid argument)
audio: start_source failed (alsa.plughw): Unknown error -22
call: start: audio_encoder_set error: Unknown error -22
audio: Set audio decoder: PCMA 8000Hz 1ch
alsa: cannot set parameters (Invalid argument)
alsa: init failed: err=-22
alsa: could not reset player 'plughw' (Invalid argument)
audio: start_player failed (alsa.plughw): Unknown error -22
alsa: cannot set parameters (Invalid argument)
alsa: init failed: err=-22
alsa: could not reset source 'plughw' (Invalid argument)
audio: start_source failed (alsa.plughw): Unknown error -22
call: start: audio_decoder_set error: Unknown error -22
Is there some way around this problem?
/Ola
PCMA 8000/1
Moderator: flatmax
Re: PCMA 8000/1
OK - I need to update the driver to make it work with 8kHz sample rates ...
If you look at this issue :
https://github.com/raspberrypi/linux/is ... -325184828
You will notice very recent updates to the Pi's linux kernel i2s sound driver break 8 kHz for this card.
Stay tuned ... I will update it soon so it works ...
Matt
If you look at this issue :
https://github.com/raspberrypi/linux/is ... -325184828
You will notice very recent updates to the Pi's linux kernel i2s sound driver break 8 kHz for this card.
Stay tuned ... I will update it soon so it works ...
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
Who is online
Users browsing this forum: No registered users and 5 guests