[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
PLAYVOC ( cVocName ) -> lError
This is the actual playing function for .VOC-Files. The file is
being opened, the card is initialized and the sound data is
transferred via DMA-channel.
After calling PlaVoc() you can still use your application freely,
the music is played in 'background' mode...
SbInit() must be called before you can use PlayVoc()
Make sure to call PlayStop() before leaving your application,
otherwise the next interrupt will hang your computer.
PARAMETER:
cVocName name of the .VOC-File ( Path and drive allowed )
RETURN VALUES:
TRUE is returned when everything's fine...
FALSE is returned for example, when you don't have a
SoundBlaster or the .VOC-File does not exist
DOS FileErrors (like File not found) will be
displayed in an AlertBox !
EXAMPLE:
PlayVoc ('hal.voc')
See Also:
PlayStop
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson