XgmPlayPcm

Last Modified: 1/3/2021

Plays the current PCM data in memory.

Example

Syntax: XgmPlayPcm
    On vInt GoSub Vbl
    Enable vInt
    
    XgmSetPcm MyPCMSample,1,1
    XgmPlayPcm
    
    While 1
        Sleep 1
    Wend
    
Vbl:
    XgmVintProc
    Return
 
    Asm
MyPCMSample:
    INCBIN "C:\SecondBASICStudio\bin\null.raw"
MyPCMSample_end:
    align 256
    End Asm

Remarks

To set the PCM data, use the XgmSetPcm command.

See Also

XgmResumeMusic, XgmSetBusProtection, XgmSetPcm, XgmSetTempo, XgmStartMusic, XgmStopMusic, XgmStopPcm, XgmTrack, XgmVintProc