C# Класс MediaPortal.MusicPlayer.BASS.MixerStream

This class handles the Mixer Strem, which is used by the BASS Player
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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