Constructor ChannelSelector
View SourceChannelSelector(ISampleSource, ChannelMask)
Creates a new instance of the ChannelSelector class from an existing sample source.
Declaration
public ChannelSelector(ISampleSource source, ChannelMask channel)
Parameters
| Type | Name | Description |
|---|---|---|
| CSCore.ISampleSource | source | The sample source. |
| CSCore.ChannelMask | channel | The channel to select. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | source is null |
| ArgumentException | The source is not stereo or Wrong channel. |