mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fa2305ecd5
1. Add a new audio channel type called ringer. 2. Add logic into AudioChannelService for ringer.
51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim:set ts=2 sw=2 sts=2 et cindent: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsIDOMHTMLMediaElement.idl"
|
|
|
|
/**
|
|
* The nsIDOMHTMLVideoElement interface is the interface to a HTML
|
|
* <video> element.
|
|
*
|
|
* For more information on this interface, please see
|
|
* http://www.whatwg.org/specs/web-apps/current-work/#video
|
|
*
|
|
* @status UNDER_DEVELOPMENT
|
|
*/
|
|
|
|
[scriptable, uuid(fe914e4a-3928-11e2-bea2-10bf48d64bd4)]
|
|
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
|
|
{
|
|
attribute long width;
|
|
attribute long height;
|
|
readonly attribute unsigned long videoWidth;
|
|
readonly attribute unsigned long videoHeight;
|
|
attribute DOMString poster;
|
|
|
|
// A count of the number of video frames that have demuxed from the media
|
|
// resource. If we were playing perfectly, we'd be able to paint this many
|
|
// frames.
|
|
readonly attribute unsigned long mozParsedFrames;
|
|
|
|
// A count of the number of frames that have been decoded. We may drop
|
|
// frames if the decode is taking too much time.
|
|
readonly attribute unsigned long mozDecodedFrames;
|
|
|
|
// A count of the number of frames that have been presented to the rendering
|
|
// pipeline. We may drop frames if they arrive late at the renderer.
|
|
readonly attribute unsigned long mozPresentedFrames;
|
|
|
|
// Number of presented frames which were painted on screen.
|
|
readonly attribute unsigned long mozPaintedFrames;
|
|
|
|
// Time which the last painted video frame was late by, in seconds.
|
|
readonly attribute double mozFrameDelay;
|
|
|
|
// True if the video has an audio track available.
|
|
readonly attribute bool mozHasAudio;
|
|
};
|
|
|