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

Getting ALSA working on mangler 1.1.20100116?

UserPost

10:13 am
February 14, 2010


smaug42

New Member

posts 1

I've been fighting this one for a while today…. out of ideas.

I'm compiling mangler 1.1.20100116 on openSUSE 64 bit. I've got all the dev libs installed etc for compiling. .configure and make, make install work fine. I can start up mangler, configure a Ventrilo server and connect without any issues… but… I have no sound.

In the mangler setup, I've selected ALSA (I do NOT have PulseAudio installed), and configured mangler to use my USB headset (this is a choice in the Device dropdowns in mangler). The configuration all appears to be right, but when I connect to a Ventrilo server… no sound is received or transmitted (yes the PTT key is configured :-) ).

When I connect to a Ventrilo server I see this in the terminal output:
[code]ALSA lib pcm.c:7315:(snd_pcm_set_params) Channels count (1) not available for PLAYBACK: Invalid argument
snd_pcm_set_params() failed: Invalid argument[/code]

and when I press the PTT key, I see this output:

[code]ALSA lib pcm.c:7326:(snd_pcm_set_params) Rate doesn't match (requested 32000Hz, get 0Hz)
snd_pcm_set_params() failed: Invalid argument
ALSA lib pcm.c:7315:(snd_pcm_set_params) Channels count (1) not available for PLAYBACK: Invalid argument
snd_pcm_set_params() failed: Invalid argument
ALSA lib pcm.c:7315:(snd_pcm_set_params) Channels count (1) not available for PLAYBACK: Invalid argument
snd_pcm_set_params() failed: Invalid argument
ALSA lib pcm.c:7315:(snd_pcm_set_params) Channels count (1) not available for PLAYBACK: Invalid argument
snd_pcm_set_params() failed: Invalid argument[/code]

So… what am I doing wrong? Did I miss some development lib in the configuration/make step? Is there some local config or lib I'm missing? Is there any other info I can provide to help pin down what's going wrong here?

7:24 pm
February 14, 2010


ekilfoil

Admin

posts 214

Your sound device does not support native input rates required for various Ventrilo channel formats:

GSM is: 8khz, 11.025kHz, 22.05kHz, 44.1kHz
Speex is: 8kHz, 16kHz, 32kHz

Since your server is using Speex @32kHz, Mangler is requesting a 32kHz input stream from your sound device, and your sound device is saying "no." You can tell ALSA to resample your sound input rate:

http://alsa.opensrc.org/index.php/.asoundrc#Converting_Sample_Rates_On_Input

Or you can use PulseAudio, which fixes all of these problems. Mangler does not resample input or output streams (yet).


About the Mangler forum

Forum Timezone: America/New_York

Most Users Ever Online: 26

Currently Online:
2 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 3
Topics: 153
Posts: 782

Membership:

There are 408 Members

There is 1 Admin
There are 2 Moderators

Top Posters:

clearscreen – 36
Krovikan – 16
FWishbringer – 14
faldiin – 12
dardack – 12
vpro – 11

Recent New Members: zukruf, zukraf, Mikulewicz, JaredSpizzle, rafaeljpc, ariansworld

Administrators: ekilfoil (214 Posts)

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