axstream2

Description

This program demonstrates software audio streaming of looped ADPCM data. The audio data is loaded from the disk into the streaming buffer and loop start buffer in external main memory (MEM2), and played from the DSP using an AX voice.

The data in the streaming buffer and the loop start buffer is played by AX voice in Loop mode (addr.loopFlag=AXPBADDR_LOOP_ON). The program recognizes streaming playback and immediately loads new audio data into the region of the streaming buffer that has been played. (The data in the loop start buffer is loaded there when playback starts and subsequently resides in main memory.)

The audio data that is played is looped ADPCM (DSP file).

Because the sampling rate for the audio data is 32 kHz, this program does not use AX SRC. You must set SRC appropriately when using data that is not 32 kHz.

Coverage

How to Use

A Button Starts streaming playback of looped ADPCM data.
B Button Stops streaming playback.

This program does not display any video. Information is written to the serial output when the program executes.

Required Data Files

Revision History

2009/05/13 Initial version.


CONFIDENTIAL