PCMA 8000/1

Moderator: flatmax

Post Reply
Palm
Posts: 1
Joined: Wed Sep 13, 2017 9:22 pm

PCMA 8000/1

Post by Palm » Wed Sep 13, 2017 10:21 pm

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

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: PCMA 8000/1

Post by flatmax » Sat Sep 16, 2017 1:41 pm

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
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

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests