Exemplo n.º 1
0
 /// <remarks>
 ///  Constructs a copy of <pre>rhs</pre>.
 ///  This constructor is fast thanks to explicit sharing.
 ///          </remarks>        <short>    Constructs a copy of \p rhs.</short>
 public MediaSource(Phonon.MediaSource rhs) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("MediaSource#", "MediaSource(const Phonon::MediaSource&)", typeof(void), typeof(Phonon.MediaSource), rhs);
 }
Exemplo n.º 2
0
 /// <remarks>
 ///  Convenience function to create a MediaObject and AudioOutput connected by
 ///  a path.
 ///      </remarks>        <short>    Convenience function to create a MediaObject and AudioOutput connected by  a path.</short>
 public static Phonon.MediaObject CreatePlayer(Phonon.Category category, Phonon.MediaSource source)
 {
     return((Phonon.MediaObject)staticInterceptor.Invoke("createPlayer$#", "createPlayer(Phonon::Category, const Phonon::MediaSource&)", typeof(Phonon.MediaObject), typeof(Phonon.Category), category, typeof(Phonon.MediaSource), source));
 }
Exemplo n.º 3
0
 public void Play(Phonon.MediaSource source)
 {
     interceptor.Invoke("play#", "play(const Phonon::MediaSource&)", typeof(void), typeof(Phonon.MediaSource), source);
 }
Exemplo n.º 4
0
 public void Load(Phonon.MediaSource source)
 {
     interceptor.Invoke("load#", "load(const Phonon::MediaSource&)", typeof(void), typeof(Phonon.MediaSource), source);
 }
Exemplo n.º 5
0
 /// <remarks>
 ///  Appends one source to the queue. Use this function to provide
 ///  the next source just in time after the aboutToFinish signal was
 ///  emitted.
 ///  \see aboutToFinish
 ///  \see setQueue
 ///  \see clearQueue
 ///              </remarks>        <short>    Appends one source to the queue.</short>
 public void Enqueue(Phonon.MediaSource source)
 {
     interceptor.Invoke("enqueue#", "enqueue(const Phonon::MediaSource&)", typeof(void), typeof(Phonon.MediaSource), source);
 }
Exemplo n.º 6
0
 /// <remarks>
 ///  Set the media source the MediaObject should use.
 ///  \param source The MediaSource object to the media data. You can
 ///  just as well use a QUrl or string (for a local file) here.
 ///  Setting an empty (invalid) source, will stop and remove the
 ///  current source.
 ///  <pre>
 ///  QUrl url("http://www.example.com/music.ogg");
 ///  media.SetCurrentSource(url);
 ///  </pre>
 ///  \see currentSource
 ///              </remarks>        <short>    Set the media source the MediaObject should use.</short>
 public void SetCurrentSource(Phonon.MediaSource source)
 {
     interceptor.Invoke("setCurrentSource#", "setCurrentSource(const Phonon::MediaSource&)", typeof(void), typeof(Phonon.MediaSource), source);
 }
Exemplo n.º 7
0
 /// <remarks>
 ///  Call this function from the constructor of your StreamInterface implementation (or as
 ///  soon as you get the MediaSource object). This will connect your object to the
 ///  AbstractMediaStream object. Only after the connection is done will the following
 ///  functions have an effect.
 ///          </remarks>        <short>    Call this function from the constructor of your StreamInterface implementation (or as  soon as you get the MediaSource object).</short>
 public void ConnectToSource(Phonon.MediaSource mediaSource)
 {
     interceptor.Invoke("connectToSource#", "connectToSource(const Phonon::MediaSource&)", typeof(void), typeof(Phonon.MediaSource), mediaSource);
 }