1 Star 0 Fork 2

奥大梨呀/mp3-decoder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sound.h 592 Bytes
一键复制 编辑 原始数据 按行查看 历史
奥大梨呀 提交于 7个月前 . 解码器完成
#ifndef _SOUND_H_
#define _SOUND_H_
#include <alsa/asoundlib.h>
#ifdef __cplusplus
extern "C"
{
#endif
int snd_pcm_init(void);
void snd_pcm_set_format(snd_pcm_format_t format);
void snd_pcm_set_rate(unsigned int rate);
void snd_pcm_set_channels(unsigned int channels);
void snd_pcm_set_period_size(unsigned int size);
unsigned int snd_pcm_get_period_size(void);
snd_pcm_t *snd_pcm_get(void);
void snd_pcm_dev_close(void);
int snd_mixer_init(void);
void snd_mixer_dev_close(void);
void snd_get_volume(int *cur, int *max);
void snd_set_volume(int v);
#ifdef __cplusplus
}
#endif
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/Jumping99/mp3-decoder.git
git@gitee.com:Jumping99/mp3-decoder.git
Jumping99
mp3-decoder
mp3-decoder
master

搜索帮助