A Divendres 08 Octubre 2010 11:17:41, vàreu escriure:
> I am thrilled to hear that I might need not to open the hardware after all!
> 
> Do you know which alsa setting cause the routing to be changed?

I don't remember but it could be controled with a 
dbus messge.

`mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio` gives 
the available messages.

`mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio \ 
org.freesmartphone.Device.Audio.GetScenario`
returns the active scenario ( "stereoout" ) => handset speaker
 
 

`mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio \ 
org.freesmartphone.Device.Audio.SetScenario "gsmhandset"` routes the audio to 
be a gsm phone 

 
> Can it be done on the fly (while audio is playing)?

yes it can be done.

see:

http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem
http://wiki.openmoko.org/wiki/Neo_alsamixer
http://wiki.openmoko.org/wiki/Neo_1973_audio_subsystem
http://wiki.openmoko.org/wiki/The_ultimate_alsa_guide_to_statefile_by_klaszlo

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to