main.c
来自「audio talktrough code. platform bf533 + 」· C语言 代码 · 共 60 行
C
60 行
/*********************************************************************************
Copyright(c) 2005 Analog Devices, Inc. All Rights Reserved.
This software is proprietary and confidential. By using this software you agree
to the terms of the associated Analog Devices License Agreement.
*********************************************************************************/
/*************************************************************************************
Project name: Audio talk through example
Hardware : See 'readme.txt' file
Date : 8/25/2005
Description : This example program sets up the Audio device driver, which configures the codecs
via SPI ports and SPORT ports. Audio data is transferred through DMA.
This program simply passes the audio data from the input buffer to the output buffer.
*********************************************************************************/
/*********************************************************************
Include files
*********************************************************************/
#include "AudioDriver.h"
/*********************************************************************
*
* Function: DoProcessing
*
*********************************************************************/
void DoProcessing(u32* pSignal)
{
// do nothing
}
/*********************************************************************
*
* Function: main
*
*********************************************************************/
void main(void)
{
// initialize the audio driver
Init_Audio();
for (;;)
{
// infinite loop for handling audio
}
// Terminate Audio Driver, not used in current example.
// Close_Audio();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?