On Thursday 23 July 2009, c_c wrote:
> Hi,
>
> Al Johnson-3 wrote:
> > You shouldn't need to know the path at all. FSO has GetAvailableScenarios
> > to
> > find the names that can be used in SetScenario and PushScenario.
> > http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesm
> >artphone.Device.Audio.html;hb=HEAD#GetAvailableScenarios
>
>   Sorry for the off-topic post and for not being clear -  but what I want
> to know is how to check that intone is running on shr - so that I can use
> the state file from the appropriate directory
> (/usr/share/openmoko/scenarios Vs /usr/share/shr/scenarii). I thought
> checking the path is one way.
>   FSO will tell me the available scenarios - but I'm not how to infer the
> distribution from that. I guess the state files have the same names. Does
> FSO cater for the shr scenarii?

I still don't understand why you need the path at all. If you use SetScenario 
or PushScenario then FSO takes care of the path for you. If you are using some 
other method like alsactl then you risk causing problems for apps that are 
using the FSO methods.

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

Reply via email to