共 10 篇文章
显示摘要每页显示  条
}int writeAllFile(FILE *fp, unsigned char *buf, int len){if(NULL == fp || NULL == buf || 0 == len){printf("NULL == fp || NULL == buf || 0 == len write \n");
}}int overreadFile(FILE *fp, unsigned char *buf,int *len_t){if(NULL == fp || NULL == buf){return -1;printf("len[%d]--len1[%d]\n",len,len1);}int writeAllFile(FILE *fp, unsigned char *buf, int len){if(NULL == fp || NULL == buf || 0 == len){printf("NULL == fp || NULL == buf || 0 == len write \n");int ...
}}int overreadFile(FILE *fp, unsigned char *buf,int *len_t){if(NULL == fp || NULL == buf){return -1;printf("len[%d]--len1[%d]\n",len,len1);}int writeAllFile(FILE *fp, unsigned char *buf, int len){if(NULL == fp || NULL == buf || 0 == len){printf("NULL == fp || NULL == buf || 0 == len write \n");
static int mono_resample(ReSampleChannelContext *s, short *output, short *input, int nb_samples);bool audio_resample_init(int output_channels, int input_channels, int output_rate, int input_rate);int audio_resample(short *output, short *input, int nb_samples);int init_PCM_resample(CResample **ppResampl...
resample-test#include <stdio.h>#include <stdlib.h>#include <errno.h>#include "resample.h"#include "volume.h"int openFileWrite(FILE** fp,char *name){*fp = fopen(name,"w+");printf("len[%d]--len1[%d]\n",len,len1);*len_t = len;}int writeAllFile(FILE *fp, unsigned c...
PCM音量调节。音频视频交错格式数据(.AVI)、波形格式数据(.WAV)、位图格式数据(.RDI)、MIDI格式数据(.RMI)、调色板格式(.PAL)、多媒体电影(.RMN)、动画光标(.ANI)、其它RIFF文件(.BND)。最基本的WAVE文件是PCM(脉冲编码调制)格式的,这种文件直接存储采样的声音数据没有经过任何的压缩,是声卡直接支持的数据格式,要让声卡正确播放其它被压...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部