Errores #38
(DEV 003) Error setting sound device
| Status: | Resuelta | Start: | 03/18/2009 | |
|---|---|---|---|---|
| Priority: | Urgente | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | PJSIP | |||
| Target version: | 0.5.0 |
Description
La mitad de las veces que arranco YASS me sale el error:
"(DEV 003) Error setting sound device."
Entonces ni aparece los datos de la cuenta, ni buddies, ni funciona el botón "Config"...
El log:
11:18:10.135 pasound.c PA message: Expression 'parameters->channelCount <= maxChans' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 924 11:18:10.135 pasound.c PA message: Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1968 11:18:10.141 pasound.c PA message: Expression 'parameters->channelCount <= maxChans' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 924 11:18:10.141 pasound.c PA message: Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1968 11:18:10.157 pjsua_media.c ..failed: Invalid number of channels 11:18:10.157 pjsua_media.c pjsua_set_snd_dev(): attempting to open devices @44100 Hz 11:18:10.157 pasound.c PA message: Expression 'parameters->channelCount <= maxChans' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 924 11:18:10.157 pasound.c PA message: Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1968 11:18:10.165 pasound.c PA message: Expression 'parameters->channelCount <= maxChans' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 924 11:18:10.165 pasound.c PA message: Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1968 11:18:10.193 pjsua_media.c ..failed: Invalid number of channels 11:18:10.193 pjsua_media.c pjsua_set_snd_dev(): attempting to open devices @48000 Hz 11:18:10.193 pasound.c PA message: Expression 'parameters->channelCount <= maxChans' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 924 11:18:10.193 pasound.c PA message:
History
Updated by Saúl Ibarra Corretgé over 2 years ago
Tengo que hacer un workaround de eso o algo... El tema es que el error lo da pjmedia, pero claro, al producirse una excepción se altera el flujo del programa y por tanto lo demás no se carga! Grrrrrrrrrrr. Working on it...
jeje, hay que capturar las excepciones XD
Updated by Saúl Ibarra Corretgé over 2 years ago
- Status changed from Nueva to Resuelta
Fixed in issue38 branch and merged to trunk. Now audio device is NOT set during startup. Instead it's set when making a call or when receiving a call.
If we can't get the audio device when trying to MAKE a call an error will be printed and the call won't be made. When RECEIVING a call, if the audio device can't be set the NULL audio device will be used and a error message will be shown. There will be no audio, but the call goes in so we can reject it for example.