KOBANZAME SDK Audio Driver. More...
#include "kobanzame.h"
#include "jsp_kernel.h"
Defines | |
#define | SAMPLES_PER_INTR (8) |
#define | SLOT_PER_SAMPLE (8) |
#define | INTR_PER_BUFFER (3) |
#define | FLOW_Autobuffer (0x1000) |
#define | INTERNAL_ADC_L0 (0) |
#define | INTERNAL_ADC_L1 (1) |
#define | INTERNAL_ADC_R0 (4) |
#define | INTERNAL_ADC_R1 (5) |
#define | INTERNAL_DAC_L0 (0) |
#define | INTERNAL_DAC_L1 (1) |
#define | INTERNAL_DAC_L2 (2) |
#define | INTERNAL_DAC_R0 (4) |
#define | INTERNAL_DAC_R1 (5) |
#define | INTERNAL_DAC_R2 (6) |
#define | NUM_BUF_AUDIO_STATE (2) |
#define | QSHIFT32 (31 - KZQ_VAL) |
#define | SLEN_32 0x001F |
#define | SLEN_24 0x0017 |
#define | FLOW_1 0x1000 |
Functions | |
void | KzAttIniAudio (ID idTskDevAudio) |
void | KzAudioISRSport0 (void) |
void | KzAudioDspTask (VP_INT arg) |
BOOL | kzdev_audio_start (void *fnCbk, long lSampleRate, int nBlocks, int nChannel) |
void | kzdev_audio_stop (void) |
Variables | |
const long | mSupportedFreq [] = { 48000 } |
KOBANZAME SDK Audio Driver.
KOBANZAME SDK Software Developers Kit for Blackfin DSP Evaluation Board(KOBANZAME).
Copyright (C) 2010, KOBANZAME SDK Project, all right reserved
LICENSE: The software is a free and you can use and redistribute it for personal, non-profit or commercial products. Redistributions of source code must retain the above copyright notice. There is no warranty in this software, if you suffer any damages by using the software.
#define INTR_PER_BUFFER (3) |
過去何回分の割り込みのデータを用意するか。
トリプルバッファなので3
#define SAMPLES_PER_INTR (8) |
割り込み1回あたりに転送する、サンプル数。
ユーザーが変えてよい。
#define SLOT_PER_SAMPLE (8) |
サンプルあたりのスロット数。
AD1836Aのマルチチャンネル・モードでは8。ユーザーが変えてはならない。