C# Класс ManagedBass.Wasapi.WasapiPlaybackDevice

Represents a Wasapi Playback Device.
Наследование: WasapiDevice
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddOutputSource ( int Channel ) : bool

Adds a Bass Channel to Wasapi Output Mixer.

Get ( int Device ) : WasapiPlaybackDevice

Get Device By Index.

Init ( int Frequency = 44100, int Channels = 2, bool Shared = true, bool UseEventSync = false, int Buffer, int Period ) : bool

Initialises the device.

RemoveOutputSource ( int Channel ) : bool

Removes a Bass Channel from Wasapi Output Mixer.

Приватные методы

Метод Описание
OnProc ( IntPtr Buffer, int Length, IntPtr User ) : int
WasapiPlaybackDevice ( int Index ) : ManagedBass.Mix

Описание методов

AddOutputSource() публичный Метод

Adds a Bass Channel to Wasapi Output Mixer.
public AddOutputSource ( int Channel ) : bool
Channel int
Результат bool

Get() публичный статический Метод

Get Device By Index.
public static Get ( int Device ) : WasapiPlaybackDevice
Device int
Результат WasapiPlaybackDevice

Init() публичный Метод

Initialises the device.
public Init ( int Frequency = 44100, int Channels = 2, bool Shared = true, bool UseEventSync = false, int Buffer, int Period ) : bool
Frequency int
Channels int
Shared bool
UseEventSync bool
Buffer int
Period int
Результат bool

RemoveOutputSource() публичный Метод

Removes a Bass Channel from Wasapi Output Mixer.
public RemoveOutputSource ( int Channel ) : bool
Channel int
Результат bool