C# 클래스 MediaPortal.MusicPlayer.BASS.MixerStream

This class handles the Mixer Strem, which is used by the BASS Player
상속: IDisposable
파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1 1 사용 예제들

공개 메소드들

메소드 설명
AttachStream ( MediaPortal.MusicPlayer.BASS.MusicStream stream ) : bool

Attach a stream to the Mixer

CreateMixer ( MediaPortal.MusicPlayer.BASS.MusicStream stream ) : bool

Create a mixer using the stream attributes

Dispose ( ) : void
FreeGcHandle ( int stream ) : void

Free the pinned Object

MixerStream ( BassAudioEngine bassPlayer ) : System
SetSyncPos ( MediaPortal.MusicPlayer.BASS.MusicStream stream, double timePos ) : void

Sets a SyncPos on the mixer stream

비공개 메소드들

메소드 설명
AsioCallback ( bool input, int channel, IntPtr buffer, int length, IntPtr user ) : int

Callback from Asio to deliver data from Decoding channel

CreateFiveDotOneUpMixMatrix ( ) : ].float[
CreateFiveDotZeroUpMixMatrix ( ) : ].float[
CreateFourDotZeroUpMixMatrix ( ) : ].float[
CreateMixingMatrix ( int inputChannels ) : ].float[

Check, which Mixing Matrix to be used Thanks to Symphy, author of PureAudio, for this code

CreateMonoUpMixMatrix ( ) : ].float[
CreateQuadraphonicUpMixMatrix ( ) : ].float[
CreateStereoUpMixMatrix ( ) : ].float[
CreateThreeDotZeroUpMixMatrix ( ) : ].float[
PlaybackEndProc ( int handle, int stream, int data, IntPtr userData ) : void

End of Playback for a stream has been signaled Send event to Bass player to start playback of next song

WasApiCallback ( IntPtr buffer, int length, IntPtr user ) : int

Callback from WasApi to deliver data from Decoding channel

메소드 상세

AttachStream() 공개 메소드

Attach a stream to the Mixer
public AttachStream ( MediaPortal.MusicPlayer.BASS.MusicStream stream ) : bool
stream MediaPortal.MusicPlayer.BASS.MusicStream
리턴 bool

CreateMixer() 공개 메소드

Create a mixer using the stream attributes
public CreateMixer ( MediaPortal.MusicPlayer.BASS.MusicStream stream ) : bool
stream MediaPortal.MusicPlayer.BASS.MusicStream
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FreeGcHandle() 공개 메소드

Free the pinned Object
public FreeGcHandle ( int stream ) : void
stream int
리턴 void

MixerStream() 공개 메소드

public MixerStream ( BassAudioEngine bassPlayer ) : System
bassPlayer BassAudioEngine
리턴 System

SetSyncPos() 공개 메소드

Sets a SyncPos on the mixer stream
public SetSyncPos ( MediaPortal.MusicPlayer.BASS.MusicStream stream, double timePos ) : void
stream MediaPortal.MusicPlayer.BASS.MusicStream
timePos double
리턴 void