提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 251823 |
|
8 |
* @version 1.0 |
|
9 |
* @description fAudioDataCallBackEx 回调音频信息 |
|
10 |
* @date 2021/12/29 |
|
11 |
*/ |
|
12 |
public class NET_AUDIO_DATA_CB_INFO extends NetSDKLib.SdkStructure{ |
|
13 |
/** |
|
14 |
* 带音频头的音频数据 |
|
15 |
*/ |
|
16 |
public Pointer pBuf; |
|
17 |
|
|
18 |
/** |
|
19 |
* 带音频头的音频数据长度 |
|
20 |
*/ |
|
21 |
public int dwBufSize; |
|
22 |
|
|
23 |
/** |
|
24 |
* 音频编码格式,参考枚举{ @link NET_TALK_CODING_TYPE } |
|
25 |
*/ |
|
26 |
public int emAudioCode; |
|
27 |
|
|
28 |
/** |
|
29 |
* 不带音频头的音频裸数据 |
|
30 |
*/ |
|
31 |
public Pointer pRawBuf; |
|
32 |
|
|
33 |
/** |
|
34 |
* 不带音频头的音频数据长度 |
|
35 |
*/ |
|
36 |
public int dwRawBufSize; |
|
37 |
|
|
38 |
/** |
|
39 |
* 位数,如8或16等 |
|
40 |
*/ |
|
41 |
public int nAudioBit; |
|
42 |
|
|
43 |
/** |
|
44 |
* 采样率,如8000或16000等 |
|
45 |
*/ |
|
46 |
public int dwSampleRate; |
|
47 |
|
|
48 |
/** |
|
49 |
* 预留字节 |
|
50 |
*/ |
|
51 |
public byte[] bReserved = new byte[256]; |
|
52 |
} |