Is it possible to play 2612 sound effects over VGM?
If so, what is the best way to do this?
SFX over VGM
Moderator: Stef
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
The last version of the VGM driver allow you to play 8 Khz PCM SFX and nothing more but that is already quite a lot when you think the driver is wrote in C
You can define use WAV file to define your SFX, then declare them in your resource file :
and then use :
to play your SFX with the VGM driver.

You can define use WAV file to define your SFX, then declare them in your resource file :
Code: Select all
WAV mysfx_var "sfx.wav" 4
Code: Select all
SND_playSfx_VGM((u32) mysfx_var, sizeof(mysfx_var));