I would go with Ogg like the others said, but if you want to use ADPCM for background music, you could just make a modified version of kos/kernel/arch/dreamcast/sound/snd_stream.c to do the job. It wouldn't be hard at all--the biggest things to change would be in:
Code: Select all
int snd_stream_poll(snd_stream_hnd_t hnd)
The number of bytes it looks for is wrong if you're using ADPCM. Other than that, as long as the sound hardware knows the correct format, you should be able to just feed samples to the sound hardware and have it play.
In response to BlackAura's comment on whether the ADPCM wav files generated by wav2adpcm are totally correct... is this the same ADPCM format as ADX audio? If so, the code that does the conversion in bero's wav2adx/adx2wav is similar but different.