1) Is there a way to play an audio file from an array in memory (or a stream)
without having to save it as a file first I have all my sounds in memory and
don't want to save them as separate files.
2) A long time ago (when the
SDK was still beta) I noticed that my game would pause (about 1/5th of a
second) whenever I started playing an MP3. I tried many things to fix this (including
starting and pausing it, or pre-seeking), but nothing helped. Does anyone know
if there is a way to fix that (or if it was fixed in a more recent
SDK)
3) If I use AudioVideoPlayback to play Midi files, will they sound the
same on all computers I know this used to be a problem, but I'm
wondering if DirectX (through or Media player ) has fixed this.
I've been using BASS from un4seen.com, but I'd
prefer to use the DirectX Audio library instead.
Thanks,
Jeremy

new Microsoft.DirectX.AudioVideoPlayback.Audio(Stream)?
Daniel2005
with regard to this
The advantage that I see is that the AudioVideoPlayback works with mp3's and other file formats whereas DirectSound only works with WAV files, isn't that correct
TrevHunter
DirectSound. Look at the examples in the Sample Browser.
I can't replicate this problem. Perhaps it's the MP3 codec loading and unloading that is giving you problems.
Well, you can just as well use DirectMusic to play back MIDI files. They should sound the same.