On Tuesday 27 January 2009, TL Mieszkowski wrote: > I'm not sure what the status of the Dbus sound stuff is, but I wrote a > little program to choose the alsa state file with a simple gui. Attached is > the code in anyone is interested. All it is is 1 button for each state > file, very simplistic, uses elementary. (which btw kicks ass Raster) > > You would run it like so: > scalpel `ls -1 /usr/share/openmoko/scenarios/` > meh, whatever, works for me > > -Tim > > http://n2.nabble.com/file/n2222224/scalpel.c scalpel.c
The FSO API can list and change the alsa scenarios with stack based management. It will also send a signal on scenario change so that interested apps are aware of it. See: http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.Audio.html;hb=HEAD _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community