Change sound device in WP8

Александр Долгушин
Tue, Jun 3, 2014 2:13 PM

Hi!
Can anyone help me with changing output sound from external to internal speaker in Windows Phone 8?
I use Nokia Lumia 520, and pjmedia_aud_dev_count shows me only 1 default device with driver wasapi.

Hi! Can anyone help me with changing output sound from external to internal speaker in Windows Phone 8? I use Nokia Lumia 520, and pjmedia_aud_dev_count shows me only 1 default device with driver wasapi.
BG
Bill Gardner
Tue, Jun 3, 2014 6:27 PM

You might be able to change it by setting the
PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE capability via pjsua_snd_set_setting.
You can set to PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER or
PJMEDIA_AUD_DEV_ROUTE_EARPIECE.

Bill

On 6/3/2014 10:13 AM, Александр Долгушин wrote:

Hi!
Can anyone help me with changing output sound from external to internal speaker in Windows Phone 8?
I use Nokia Lumia 520, and pjmedia_aud_dev_count shows me only 1 default device with driver wasapi.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

You might be able to change it by setting the PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE capability via pjsua_snd_set_setting. You can set to PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER or PJMEDIA_AUD_DEV_ROUTE_EARPIECE. Bill On 6/3/2014 10:13 AM, Александр Долгушин wrote: > Hi! > Can anyone help me with changing output sound from external to internal speaker in Windows Phone 8? > I use Nokia Lumia 520, and pjmedia_aud_dev_count shows me only 1 default device with driver wasapi. > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
NC
Nuno Centeio
Mon, Jun 16, 2014 1:40 PM

Hi.

It's not implement in the winphone branch.
You must turn your app a VoIP app and set the audioendpoint in the VoIP
background process:

http://stackoverflow.com/questions/14685019/how-to-play-audio-through-earpiece-only-in-windows-phone-8-application

Am I wrong?

On 3 June 2014 19:27, Bill Gardner billg@wavearts.com wrote:

You might be able to change it by setting the PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE
capability via pjsua_snd_set_setting. You can set to PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER
or PJMEDIA_AUD_DEV_ROUTE_EARPIECE.

Bill

On 6/3/2014 10:13 AM, Александр Долгушин wrote:

Hi!
Can anyone help me with changing output sound from external to internal
speaker in Windows Phone 8?
I use Nokia Lumia 520, and pjmedia_aud_dev_count shows me only 1 default
device with driver wasapi.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi. It's not implement in the winphone branch. You must turn your app a VoIP app and set the audioendpoint in the VoIP background process: - http://stackoverflow.com/questions/14685019/how-to-play-audio-through-earpiece-only-in-windows-phone-8-application - http://code.msdn.microsoft.com/wpapps/ChatterBox-VoIP-sample-app-b1e63b8b Am I wrong? On 3 June 2014 19:27, Bill Gardner <billg@wavearts.com> wrote: > You might be able to change it by setting the PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE > capability via pjsua_snd_set_setting. You can set to PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER > or PJMEDIA_AUD_DEV_ROUTE_EARPIECE. > > Bill > > > On 6/3/2014 10:13 AM, Александр Долгушин wrote: > >> Hi! >> Can anyone help me with changing output sound from external to internal >> speaker in Windows Phone 8? >> I use Nokia Lumia 520, and pjmedia_aud_dev_count shows me only 1 default >> device with driver wasapi. >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >