MediaPlayerSetAudioFormat 方法 |
Sets a fixed decoded audio format.
This only works in combination with libvlc_audio_set_callbacks(), and is mutually exclusive with libvlc_audio_set_format_callbacks().
命名空间:
LibVLCSharp.Shared
程序集:
CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法public void SetAudioFormat(
string format,
uint rate,
uint channels
)
参数
- format
- 类型:SystemString
a four-characters string identifying the sample format (e.g. "S16N" or "FL32") - rate
- 类型:SystemUInt32
sample rate (expressed in Hz) - channels
- 类型:SystemUInt32
channels count
参见