[sldev] SLVoice and PulseAudio

Jan Ciger jan.ciger at gmail.com
Mon Mar 16 02:20:34 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Geneko Nemeth wrote:
> Indeeds the Vivox voice outputs in 32khz. (This particular Pulse server
> defaults to s16le 2ch 44100Hz.)
> 
> But that doesn't make sense, does it? After all, if it's the server's
> job to convert sample rates, why wolud the sound client be running at
> full CPU? And Windows' audio stack does on-the-fly rate conversions all
> the time, but there's not much a noticable performance impact.

Is it SLVoice causing the heavy load? In my case it was always
Pulseaudio when the resampling was required. If it is SLVoice, then
there is something else wrong with it, but without the source for the
Vivox libraries we cannot do much to debug it :(

> 
> Interestingly, if you turn on Voice (with Alsa-Pulse-Alsa) and look in
> the debug log there's this line:
> AL lib: alsa.c:616: set access failed: Invalid argument

Hard to say, it could be unrelated to the problem. Perhaps SLVoice is
trying to set some parameters not supported by the Pulse plugin, so Alsa
complains or there is a conflict between SLVoice and regular sound.

Regards,

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFJvhnin11XseNj94gRAizOAKC9hac+LvOW4D38h4d0FtqRWdy58QCg2hhd
Cwq1j/OC2MThnN/31h8T4zw=
=kbcS
-----END PGP SIGNATURE-----


More information about the SLDev mailing list