求资料下载 https://blog.csdn.net/thisway_diy/article/details/121809633
【相关推荐】
- 这篇博客: Linux应用开发【第八章】ALSA应用开发中的 8.7.1 程序设计 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
序号 | 文件名 | 描述 |
---|
1 | AlsaBase.h | ALSA基类头文件 |
2 | AlsaBase.cpp | 基类的实现程序 |
序号 | 成员变量名 | 类型 | 描述 |
---|
1 | rate | int | 码率 |
2 | channels | int | 通道数 |
3 | bits_per_frame | mutable int | 每帧数据大小 |
4 | default_output_buffer_size | int | 默认输出缓存大小 |
5 | frames | snd_pcm_uframes_t | 帧数 |
6 | buffer_size | snd_pcm_uframes_t | 缓存大小 |
7 | buffer_frames | snd_pcm_uframes_t | 缓存大小 |
8 | period_size | snd_pcm_uframes_t | 时间段大小 |
9 | period_frames | snd_pcm_uframes_t | |
10 | period_time | unsigned int | |
11 | buffer_time | unsigned int | |
12 | bits_per_sample | size_t | |
序号 | 成员变量名 | 类型 | 描述 |
---|
1 | device | const char * | |
2 | handle | snd_pcm_t * | |
3 | params | snd_pcm_hw_params_t * | |
4 | format | snd_pcm_format_t | |
5 | access_type | snd_pcm_access_t | |
6 | DEVICE_OPENED | bool | |
7 | PARAMS_SETED | bool | |
如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^