Home > Back-end >  There are a great god used sea kang voice broadcast function?
There are a great god used sea kang voice broadcast function?

Time:09-16

5.18.7 start voice broadcast PC voice capture NET_DVR_ClientAudioStart_V30
Function: BOOL NET_DVR_ClientAudioStart_V30 (fVoiceDataCallBack cbVoiceDataCallBack, void * pUser)
And count: [in] cbVoiceDataCallBack
[in] pUser
Audio data callback function
User data
Typedef void (CALLBACK * fVoiceDataCallBack) (char * pRecvDataBuffer, dwords dwBufSize, void
* pUser)
[out] pRecvDataBuffer
[out] dwBufSize
Store audio data from the PC local a pointer to a buffer (PCM)
Audio data size
113
Equipment network SDK programming guide
[out] pUser user data pointer
Return value: TRUE on success, or FALSE on failure, return interface failure please call NET_DVR_GetLastError get error code, links,
Fault error judgment error reason,
Ming said: under the Windows 7 operating system, if no external audio equipment, this interface returns failure,
Realize voice broadcast function should call NET_DVR_ClientAudioStart_V30 interface local PC audio data, then the
Use NET_DVR_AddDVR or NET_DVR_AddDVR_V30 individually add equipment will be sent to the data collected at the same time set
,


This function should be how to do???????
Have a great god gives directions?????? Don't write programs

CodePudding user response:

With statement can rewrite the DLL functions, c + + data types and Delphi data types can be the corresponding
For example using the Integer instead of int

CodePudding user response:


Seemingly hai kang SDK documentation forwarded audio only support WIN32/radio function, lack of support in Windows 7 as WIN32
  • Related