VM Labs SDK Sample Code |
\vmlabs\sample\audio\PCMPlaySample-SDRAM |
Copyright © 2000-2001 VM Labs, Inc. All Rights Reserved |
March 2, 2001 |
This sample demonstrates how to play an audio sample using the PCMPlaySample() function.. It is similar to the PCMPlaySample program, except that the assembly source code places the data for the PCM sound into a special program segment named pcmdata. At link time, this segment is specified to reside in an address in SDRAM.
Please note that the basic idea behind this sample is to demonstrate how data can be placed in SDRAM using the assembler and linker. It is not intended to demonstrate that placing sound data in SDRAM is the preferred method of operation. In fact, the advantages or disadvantages of placing sound data in SDRAM depend on whatever other bus usage is taking place.
Filename | Description |
makefile | MAKEFILE for building and running sample program. |
pcm.c | Main program code for sample. |
pcmdata.s | Assembler source that includes data file as a binary image. |
sin500.pcm | Data file containing raw PCM-encoded data of a 500hz sine wave. |
Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.
After that, if you're still having trouble getting this sample program to work, click here to request assistance from developer support.