VM Labs SDK Sample Code

\vmlabs\sample\audio\PCMVoiceOn

Copyright © 2000-2001 VM Labs, Inc.  All Rights Reserved

March 2, 2001


This sample demonstrates how to play an audio sample using the PCMVoiceOn() function..

Filename Description
makefile MAKEFILE for building and running sample program.
pcm2.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.

The functions PCMPlaySample and PCMVoiceOn serve much the same purpose.  The main difference between them lies in the degree of control one has over playback parameters and voice allocation.  Please see the other samples and audio library documentation for more information.


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.

Click here for other online SDK documentation.