AudioWaveFormatCreateCustomFormat Method |
Creates a AudioWaveFormat with custom members
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static AudioWaveFormat CreateCustomFormat(
WaveFormatEncoding tag,
int sampleRate,
int channels,
int averageBytesPerSecond,
int blockAlign,
int bitsPerSample
)
Public Shared Function CreateCustomFormat (
tag As WaveFormatEncoding,
sampleRate As Integer,
channels As Integer,
averageBytesPerSecond As Integer,
blockAlign As Integer,
bitsPerSample As Integer
) As AudioWaveFormat
public:
static AudioWaveFormat^ CreateCustomFormat(
WaveFormatEncoding tag,
int sampleRate,
int channels,
int averageBytesPerSecond,
int blockAlign,
int bitsPerSample
)
static member CreateCustomFormat :
tag : WaveFormatEncoding *
sampleRate : int *
channels : int *
averageBytesPerSecond : int *
blockAlign : int *
bitsPerSample : int -> AudioWaveFormat
Parameters
- tag
- Type: Ozeki.MediaWaveFormatEncoding
The encoding - sampleRate
- Type: SystemInt32
Sample Rate - channels
- Type: SystemInt32
Number of channels - averageBytesPerSecond
- Type: SystemInt32
Average Bytes Per Second - blockAlign
- Type: SystemInt32
Block Align - bitsPerSample
- Type: SystemInt32
Bits Per Sample
Return Value
Type:
AudioWaveFormatSee Also