⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 audio talktrough code. platform bf533 + audio card.
💻 C
字号:
/*********************************************************************************

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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -