We updated FMOD from version 4.44.09 to 4.44.57 and noticed some problems when several virtual CD drives are in use. In particular I am using Daemon Tool Lite to mount audio CD images on Win8 64. When I have more then one Virtual CD drive FMOD.system.createSound always returns FMOD.RESULT.ERR_CDDA_NODISC for all virtual CD drives except the first one. For example, if I create drives E ,F and G in Daemon Tools and mount images to all of them then my attempt to use system.createSound with F and G drives returns ERR_CDDA_NODISC. I was able to reproduce the same behavior with cdplayer sample (both C++ and C#) provided with FMOD installation. The problem is not reproducible with FMOD 4.44.09. I’m wondering if I’m doing something wrong? If it is a known issue should I worry about other then Deamon tools virtual CD drives?
Thank you for the answer.
I tried following:
var exinfo = new FMOD.CREATESOUNDEXINFO();
exinfo.cbsize = Marshal.SizeOf(exinfo);
exinfo.numchannels = 2;
exinfo.format = FMOD.SOUND_FORMAT.PCM16;
exinfo.defaultfrequency = 44100;
exinfo.length = (uint)(exinfo.defaultfrequency * 2 * exinfo.numchannels * 2);
exinfo.cddaforceaspi = 1;
result = system.createSound(selected, (FMOD.MODE.HARDWARE | FMOD.MODE._2D | FMOD.MODE.CREATESTREAM | FMOD.MODE.OPENONLY), ref exinfo, ref cdsound);
result is always FMOD.RESULT.ERR_CDDA_DRIVERS.
If I change exinfo.cddaforceaspi = 0 then everuthig works exactly like I described in my initial post.
Did I configured CREATESOUNDEXINFO incorrectly?
Please login first to submit.