AudioWaveFormatCreateCustomFormat Method |
Creates a AudioWaveFormat with custom members
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntaxpublic 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 WaveFormatEncoding
- The encoding
- sampleRate Int32
- Sample Rate
- channels Int32
- Number of channels
- averageBytesPerSecond Int32
- Average Bytes Per Second
- blockAlign Int32
- Block Align
- bitsPerSample Int32
- Bits Per Sample
Return Value
AudioWaveFormat
See Also