Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Pali Rohár
Any pulseadio application? From application which uses pulseaudio there is no difference between intel HDA card or bluetooth headset. Both are just pulseaudio stream. On Friday 11 August 2017 17:33:49 Sathish Narasimman wrote: > Hi, > > Very thanks for the information. Also, may I know the

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Sathish Narasimman
Hi, Very thanks for the information. Also, may I know the right VOIP application in Linux. where Bluetooth works well. On Fri, Aug 11, 2017 at 3:09 PM, Pali Rohár wrote: > So then just set media.role to phone and module-bluetooth-policy from > pulseaudio 10.0 would take

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Pali Rohár
So then just set media.role to phone and module-bluetooth-policy from pulseaudio 10.0 would take care for automatic switch between a2dp and hsp once your application stop resp. start recording sound. See about media.role:

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Sathish Narasimman
Hi, My application is almost similar to what VOIP application. I am trying to create a communication between the laptop and headset. That is Tx and Rx full-duplex communication between the laptop and Bluetooth headset. Also can you please mention the VOIP application that works well with Ubuntu.

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Pali Rohár
On Friday 11 August 2017 11:02:15 Georg Chini wrote: > On 11.08.2017 10:09, Sathish Narasimman wrote: > >Hi, > > > >I want to switch the bluetooth profile using a dbus signal. > > > >I was successful to send the dbus signal and process it in pulseaudio. > > > >But unable to figure out how to use

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Sathish Narasimman
Hi, I was able to switch the profile from commands pactl and pacmd. I am trying to switch profile during runtime. I was trying to build an application in which it signals the PA to switch the profile at certain times from a2dp(acl) to hsp(sco). Thanks, Sathish N On Fri, Aug 11, 2017 at 2:32

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Georg Chini
On 11.08.2017 10:09, Sathish Narasimman wrote: Hi, I want to switch the bluetooth profile using a dbus signal. I was successful to send the dbus signal and process it in pulseaudio. But unable to figure out how to use set_profile within PA. Please help to understand the pulseaudio. I need to

[pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Sathish Narasimman
Hi, I want to switch the bluetooth profile using a dbus signal. I was successful to send the dbus signal and process it in pulseaudio. But unable to figure out how to use set_profile within PA. Please help to understand the pulseaudio. I need to switch the profile from a2dp to hsp and vice