You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Trouble with Speex

UserPost

8:10 pm
February 7, 2010


Krovikan

Member

posts 16

Hello:

I use the snapshot of January 16th.

Today, I've connected to a server with Speex and anybody listen me, but I listen they.

In a server with GSM, all is OK. I use ALSA.

Exit of console:

[code]krovikan@linux:~/Documentos/mangler-1.1.20100116/src> ./Mangler
ALSA lib pcm.c:7326:(snd_pcm_set_params) Rate doesn't match (requested 32000Hz, get 0Hz)
snd_pcm_set_params() failed: Argumento inválido
ALSA lib pcm.c:7326:(snd_pcm_set_params) Rate doesn't match (requested 32000Hz, get 0Hz)
snd_pcm_set_params() failed: Argumento inválido
ALSA lib pcm.c:7326:(snd_pcm_set_params) Rate doesn't match (requested 32000Hz, get 0Hz)
snd_pcm_set_params() failed: Argumento inválido[/code]

Greetings

7:35 pm
February 9, 2010


econnell

Admin

posts 319

Your sound card selection doesn't support 32khz via ALSA. Use PulseAudio or fix your alsa configuration

2:29 am
February 11, 2010


Krovikan

Member

posts 16

After new tests, the problem isn't of the codec.

Is from sample.

GSM and Speex at 8khz works fine, but at 16 or 32, I can't talk.

I don't know how to know if the problem is from sound card or from ALSA config.

Greetings

5:34 am
February 11, 2010


econnell

Admin

posts 319

[quote][b]Quote from Krovikan on February 11, 2010, 02:29[/b]
After new tests, the problem isn't of the codec.

Is from sample.

GSM and Speex at 8khz works fine, but at 16 or 32, I can't talk.

I don't know how to know if the problem is from sound card or from ALSA config.

Greetings[/quote]

The problem is that your sound card doesn't support these input rates natively. You'll need to modify your alsa config to provide inputs at the required rates or use PulseAudio, which does all of that resampling for you automatically.

2:57 pm
February 13, 2010


Krovikan

Member

posts 16

Thanks for the answers.

I switch again to Pulseaudio.

Greetings


About the Mangler forum

Forum Timezone: America/New_York

Most Users Ever Online: 30

Currently Online:
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 244
Posts: 1124

Membership:

There are 721 Members

There is 1 Admin
There are 2 Moderators

Top Posters:

clearscreen – 48
dardack – 18
Krovikan – 16
FWishbringer – 14
faldiin – 12
vpro – 11

Recent New Members: HeartofDixie, Gridge, morusec, Redsolardragon, Macala, neofax

Administrators: econnell (319 Posts)

Moderators: Haxar (58 Posts), bobshaffer (2 Posts)