WebAPI/AudioChannels: Difference between revisions

No edit summary
Line 72: Line 72:
   // list of active audio channels
   // list of active audio channels
   readonly attribute DOMString[] activeAudioChannels;
   readonly attribute DOMString[] activeAudioChannels;
  // list of active and non muted audio channels
  readonly attribute DOMString[] soundingAudioChannels;
   
   
  // horrible name :(
   // when this attribute is set to true, any normal channel will be 'converted'
   // when this attribute is set to true, any normal channel will be 'converted'
   // to content channel. This fixes the problem of the visibility.
   // to content channel. This fixes the problem of the visibility.
Line 79: Line 81:
   // for the foreground app. Implementing this, we can revert all the hacks we implemented for the
   // for the foreground app. Implementing this, we can revert all the hacks we implemented for the
   // visibility and normal channels...
   // visibility and normal channels...
   attribute boolean normalAudioChannelToContent;
   attribute boolean allowBackgroundContent;
  }
  }


Confirmed users
53

edits