audio_util.h.svn-base
来自「psp播放器PPA源码,在MSYS/CYGWIN环境下编译(GNU-C)」· SVN-BASE 代码 · 共 41 行
SVN-BASE
41 行
/* * Copyright (C) 2009 cooleyes * eyes.cooleyes@gmail.com * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This Program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GNU Make; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * http://www.gnu.org/copyleft/gpl.html * */ #ifndef __AUDIO_UTIL__#define __AUDIO_UTIL__#include <pspsdk.h>#ifdef __cplusplusextern "C" {#endifvoid pcm_set_normalize_ratio(unsigned int ratio_type);void pcm_normalize(short *pcm_buffer, unsigned int number_of_samples);void pcm_select_channel(short *pcm_buffer, unsigned int number_of_samples, int channel);void pcm_double_sample(short *dest_pcm_buffer, short *src_pcm_buffer, unsigned int number_of_samples);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?