sbIMediaFormatMutable.idl
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2009 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
25 #include "sbIMediaInspector.idl"
26 
31 [scriptable, uuid(ba65c974-1dd1-11b2-92ad-de20ff080877)]
37  void setContainerType(in AString aContainerType);
38 
42  void setProperties(in nsIPropertyBag aProperties);
43 };
44 
49 [scriptable, uuid(86e8566a-1dd2-11b2-bf35-834d90ae331b)]
54  void setVideoType(in AString aVideoType);
55 
59  void setVideoWidth(in long aVideoWidth);
60 
64  void setVideoHeight(in long aVideoHeight);
65 
71  void setVideoPAR(in unsigned long aNumerator,
72  in unsigned long aDenominator);
73 
79  void setVideoFrameRate(in unsigned long aNumerator,
80  in unsigned long aDenominator);
81 
85  void setBitRate(in long aBitRate);
86 
90  void setProperties(in nsIPropertyBag aProperties);
91 };
92 
97 [scriptable, uuid(4025e066-1dd2-11b2-a82a-dfe87181bd8b)]
99 
103  void setAudioType(in AString aAudioType);
104 
108  void setBitRate(in long aBitRate);
109 
113  void setSampleRate(in long aSampleRate);
114 
118  void setChannels(in long aChannels);
119 
123  void setProperties(in nsIPropertyBag aProperties);
124 };
125 
130 [scriptable, uuid(63ebf794-1dd2-11b2-bf2d-d11181482ebd)]
132 {
136  void setContainer(in sbIMediaFormatContainer aContainer);
137 
142  void setVideoStream(in sbIMediaFormatVideo aFormat);
143 
148  void setAudioStream(in sbIMediaFormatAudio aFormat);
149 };
void setVideoType(in AString aVideoType)
void setBitRate(in long aBitRate)
void setBitRate(in long aBitRate)
void setAudioStream(in sbIMediaFormatAudio aFormat)
void setContainerType(in AString aContainerType)
var uuid
void setProperties(in nsIPropertyBag aProperties)
void setSampleRate(in long aSampleRate)
void setVideoStream(in sbIMediaFormatVideo aFormat)
void setProperties(in nsIPropertyBag aProperties)
void setVideoPAR(in unsigned long aNumerator, in unsigned long aDenominator)
void setVideoHeight(in long aVideoHeight)
void setProperties(in nsIPropertyBag aProperties)
void setVideoWidth(in long aVideoWidth)
void setVideoFrameRate(in unsigned long aNumerator, in unsigned long aDenominator)
void setAudioType(in AString aAudioType)
void setContainer(in sbIMediaFormatContainer aContainer)
void setChannels(in long aChannels)