On Wednesday 22 July 2009, c_c wrote:
> Hi,
>
> Sebastian Krzyszkowiak wrote:
> > About 3 - yes, scenarios are moved to /usr/share/shr/scenarii. You
> > should use it also in Intone.
>
>   Well, is there a way to know intone is running on shr? I can think of
> checking whether the path /usr/share/shr/scenarii exists or not and using
> state files from there if it does.
>   Any other (surer) way of knowing this?

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.freesmartphone.Device.Audio.html;hb=HEAD#GetAvailableScenarios

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

Reply via email to