点击或拖拽改变大小

MediaPlayerLibVLCAudioSetupCb 委托

Callback prototype to setup the audio playback.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public delegate int LibVLCAudioSetupCb(
	ref IntPtr opaque,
	ref IntPtr format,
	ref uint rate,
	ref uint channels
)

参数

opaque
类型:SystemIntPtr

pointer to the data pointer passed to

libvlc_audio_set_callbacks() [IN/OUT]

format
类型:SystemIntPtr
4 bytes sample format [IN/OUT]
rate
类型:SystemUInt32
sample rate [IN/OUT]
channels
类型:SystemUInt32
channels count [IN/OUT]

返回值

类型:Int32
0 on success, anything else to skip audio playback
备注
This is called when the media player needs to create a new audio output.
参见