I'm trying to play a voc file from an old dos game I'm trying to convert to c# code (mostly fun programming exercise). I'm using the c# bindings of sfml, but I think the problem is more general to the audio library.
I can play ordinary wav files fine. but when I try to play the voc file I get an error "Failed to load sound buffer from file". Which is a rather generic error. All my other test files are in the same folder.
Both adobe audition and vlc play the voc sound file without problems. its mono and about 6250hz.
I also tried loading the voc data as samples (should no do that it has formatting blocks in there) and created a buffer from those samples as mono and 6250 samplerate. Does not sound pretty, but works. So its not the channel count or samplerate.
I'm guessing whatever is used for loading a voc file has a problem. Or maybe its me
. Anybody here that can help me?