VM Labs SDK Sample Code |
\vmlabs\sample\audio\PCMPlaySample |
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.
This also demonstrates how the starting pitch of a sample may be shifted. The program does a loop to play the sample 40 times, and shifts the pitch up just a little each time.
Filename | Description |
makefile | MAKEFILE for building and running sample program. |
pcm1.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.