I'm writing a game and I'd like to use NAudio to add sound to it. I followed a few examples and was rather pleased with NAudio's API and performance.<br /><br />I ran into the following issue: NAudio will not play short audio files. I've used WaveChannel32.Length to get the following numbers.<br />Files with length 755712 or less will not play.<br />Files with length 5935104 do play.<br />I'm not sure where the exact limit is. There are no exceptions thrown. I was hoping to use NAudio to play files of about 1 second long. Is anyone else having this issue? Is there a fix? Do I need to find a different library?
↧