![]() |
Re: how to output audio to phone speaker? (N900)
Quote:
Hopefully you can figure out a way :) |
Re: how to output audio to phone speaker? (N900)
A possible work around would be to go to this file.
/var/lib/pulse-nokia/ihf.parameters Look through the file with a text editor untill you see this line: x-maemo.alsa_sink.mixer_control = "HP DAC: control,Headphone:off,Earphone: off" And change it to: x-maemo.alsa_sink.mixer_control = "HP DAC: off,Headphone: off,Earphone: control" And restart pulse audio daemon, I know it's not practical for a program but it's still worth a look. Edit: On second thought forget it...I think it's too risky. |
Re: how to output audio to phone speaker? (N900)
I'm responding to this thread which is about 2 months old, but hopefully the interested members are still subscribed.
I'm back to bashing my head against this particular wall and came up with the following links which may be useful: http://pulseaudio.org/wiki/Developer...elopingClients http://pulseaudio.org/wiki/SampleAsyncDeviceList http://pulseaudio.org/wiki/DBusInterface I was thinking along the lines of: 1. Use PA api to enumerate all clients (including me) 2. Use PA api to enumerate the various audio sinks 3. Change my client's sink to the user specified sink. |
Re: how to output audio to phone speaker? (N900)
Wow thanks for digging into this a bit more! Hopefully I will get a chance to take a look in the next week or two.
|
Re: how to output audio to phone speaker? (N900)
I am trying to do the same for my app using qt and pulseaudio.
You can find the audio devices from the command line: [ Quote:
I believe there is some kind of policy in pulseaudio: Have a look on Quote:
|
| All times are GMT. The time now is 22:14. |
vBulletin® Version 3.8.8