[PATCH powerd] audio inhibit support

Walter Bender walter.bender at gmail.com
Mon May 21 08:43:41 EDT 2012

On Mon, May 21, 2012 at 6:44 AM, Sascha Silbe <silbe at activitycentral.com> wrote:
> Walter Bender <walter.bender at gmail.com> writes:
>> On Sun, May 20, 2012 at 7:00 PM, Sascha Silbe <silbe at activitycentral.com> wrote:
> [...]
>>>  - Turtle Art v138
>> For TA, this is by design: if you are recording data, you want to keep
>> recording even when in the background. Same goes for Measure.
> Ah, should have noted exactly what I tested for each Activity. For
> Turtle Art (wasn't that Turtle Blocks at some time? still confused) that
> was only playback, not recording.
>> For playback it should release the device.
> I agree, for Turtle Art it will usually be the right thing to do when
> switching to a different Activity. Jukebox OTOH would be a good example
> of an Activity that should continue playback even in the background (but
> close the device as soon as it's finished playing).
> Sascha
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/

I see that Clock is using notify::active and then checking
self.props.active. In Turtle Blocks, I had been using
visibility-notify-event. Is the former recommended? More reliable?



Walter Bender
Sugar Labs

More information about the Devel mailing list