This example shows how to use the AC97 controller of AT91 microcontrollers to play and record sound, as well as control the on-board AC97 codec configuration.
This package can be used with the following Atmel evaluation kits:
When launched, this program displays a menu on the DBGU, enabling the user to choose between several options:
To be able to play a WAV file, it must first be loaded prior to launching the application. It must be downloaded in external SDRAM, at address 0x20005000; this can be easily done using SAM-BA.
-- Basic AC97 Project 1.4 --
Menu :
------
W: Play the WAV file pre-loaded in SDRAM
I: Display the information of the WAV file
R: Start recording sound
+/-: Adjust volume (16)
The user can then choose any of the available options to perform the described
action.