Beispiel #1
0
 /// <remarks>
 ///  <see cref="Path"></see>
 ///  Creates a new Path connecting two MediaNodes.
 ///  The implementation will automatically select the right format and media type. E.g. connecting a
 ///  MediaObject and AudioOutput will create a Path object connecting the audio. This might be
 ///  represented as PCM or perhaps even AC3 depending on the AudioOutput object.
 ///  \param source The MediaNode to connect an output from
 ///  \param sink The MediaNode to connect to.
 ///  </remarks>        <short>    <see cref="Path"></see>  Creates a new Path connecting two MediaNodes.</short>
 public static Phonon.Path CreatePath(Phonon.IMediaNode source, Phonon.IMediaNode sink)
 {
     return((Phonon.Path)staticInterceptor.Invoke("createPath##", "createPath(Phonon::MediaNode*, Phonon::MediaNode*)", typeof(Phonon.Path), typeof(Phonon.IMediaNode), source, typeof(Phonon.IMediaNode), sink));
 }
Beispiel #2
0
 /// <remarks>
 ///  Tries to change the MediaNodes the path is connected to.
 ///  If reconnect fails the old connection is kept.
 ///          </remarks>        <short>    Tries to change the MediaNodes the path is connected to.</short>
 public bool Reconnect(Phonon.IMediaNode source, Phonon.IMediaNode sink)
 {
     return((bool)interceptor.Invoke("reconnect##", "reconnect(Phonon::MediaNode*, Phonon::MediaNode*)", typeof(bool), typeof(Phonon.IMediaNode), source, typeof(Phonon.IMediaNode), sink));
 }