audio_processing.c File Reference

コーデックから受け取ったデータに対して、実際の信号処理を施す More...

#include "i2s_subsystem.h"
#include <LPC17xx.h>
#include <kernel.h>
#include <t_syslog.h>

Functions

void process_audio (AUDIOSAMPLE input[2][AUDIOBUFSIZE/2], AUDIOSAMPLE output[2][AUDIOBUFSIZE/2], int count)
 オーディオ信号処理関数

Detailed Description

コーデックから受け取ったデータに対して、実際の信号処理を施す

Date:
2011/02/19
Author:
: Takemasa Nakamura

Function Documentation

void process_audio ( AUDIOSAMPLE  input[2][AUDIOBUFSIZE/2],
AUDIOSAMPLE  output[2][AUDIOBUFSIZE/2],
int  count 
)

オーディオ信号処理関数

Parameters:
input 入力のオーディオデータ列。LchとRchに分かれて配列になっている
output 出力のオーディオデータ列。LchとRchに分かれて配列になっている
count 入出力データオンサンプル数。count=8のとき、入出力のデータ数はステレオなのでそれぞれ16となる。

ユーザー信号処理を行う関数である。入力はあらかじめLとRに分離されて関数に渡される。同様に出力は LとRを分離して受け取る。配列の添字としては、Lが0、Rが1である。

countはサンプル数を表す。

 All Data Structures Files Functions Variables Typedefs Defines
Generated on Sun Feb 20 21:24:43 2011 for TalkTrhough by  doxygen 1.6.3