Advertisement

Segment download fails

Started by June 23, 2004 06:23 AM
0 comments, last by Vyts 20 years, 6 months ago
Hello, I am having trouble with downloading segments created from wave files onto DirectMusicPerformance object. I am loading ~200 sounds.IDirectMusicSegment8::Download method just fails, saying "DirectX error: File open failed - either file doesn't exist or is locked.". However, file exists. Loader successfully loads it. If I change download order, I get the same error, but on another segment. I tryied to count how many segments are loaded successfully - it's 135 or 136 (depends on order, weird). Files are 90 - 150kb in size (1 - 3 sec length). Is there some limitation on how many segments could be downloaded onto performance? One note: files I am downloading sometimes represent the same wave data, but with different filename. Please help, thanks in advance. Vytautas
I'll try to rephrase my questions

1. Do Wave files have some GUIDs which should be unique amongst downloaded onto performance wave files? As I mentioned, I use some files with same data, but different filenames (renamed manually). Could that be a problem?

2. Could anyone tell what happens when segment, created from wave file is downloaded onto performance? Is there some hardware limitations? Maybe I should download/unload segments on request, and limit the count of downloaded segments?

Please help.

Vytautas

This topic is closed to new replies.

Advertisement