Microsoft DirectX 8.1 (Visual Basic) |
The following list describes all DirectMusic error codes. To find a constant from its value, see DirectMusic Error Codes By Number.
The graph object was unable to load all tools, perhaps because of errors in the stream or because the tools are incorrectly registered on the client.
The segment object was unable to load all tracks from the IStream object data, perhaps because of errors in the stream or because the tracks are incorrectly registered on the client.
The port has been activated, and the parameter cannot be changed.
Buffer has already been downloaded.
The tool is already contained in the graph. You must create a new instance.
The object has already been initialized.
The DLS collection is already open.
The message has already been sent.
The port is not open.
The port was already opened.
An audiopath is inactive, perhaps because the performance has been closed down.
The audiopath could not be created because a requested buffer could not be created.
The audiopath could not be used for playback because it lacked port assignments.
The performance has set up audiopaths, so performance channels cannot be allocated.
The performance is not using audiopaths.
Invalid articulation chunk in DLS collection.
Invalid instrument chunk in DLS collection.
Offset table has errors.
Corrupted wave header.
Wave-link chunk in DLS collection points to an invalid wave.
There is no data in the buffer.
The specified number of bytes exceeds the maximum buffer size.
The buffer is not available for download.
No buffer was prepared for the data.
The requested conversion between music and MIDI values could not be made.
The message could not be freed, either because it was not allocated or because it has already been freed.
The default system port could not be opened.
An error occurred when trying to read from the IStream object.
The stream object does not support seeking.
The stream object does not support writing.
A chunk with the specified header could not be found.
An attempt to descend into a chunk failed.
Device is already in use (possibly by a non-DirectMusic client) and cannot be opened again.
Operation cannot be performed because the final instance of the DirectMusic object was released. Ports cannot be used after final release of the DirectMusic object.
An unexpected error was returned from a device driver, indicating possible failure of the driver or hardware.
A DirectSound object has already been set.
Port could not be created because no DirectSound object has been specified.
The method did not succeed.
Getting the parameter is not supported.
Buffer is not large enough for the requested operation.
File does not contain a valid band.
Invalid download identifier was used in the process of creating a download buffer.
The event either is not a valid MIDI message or makes use of running status, and cannot be packed into the buffer.
The file contains an invalid lyrics track.
DMUS_E_INVALID_PARAMCONTROLTRACK
The file contains an invalid parameter control track.
DMUS_E_INVALID_SEGMENTTRIGGERTRACK
The file contains an invalid segment trigger track.
The stream object's data contains an invalid tool header and cannot be read by the graph object.
The stream object's data contains an invalid track header and cannot be read by the segment object.
An invalid value has been passed in a parameter.
Invalid DirectSound buffer was handed to port.
Not a valid file.
Wave chunks in the DLS collection file are at incorrect offsets.
No instrument in the collection matches the patch number.
Error reading wave data from a DLS collection. Indicates a bad file.
The file path is invalid.
Object could not be found or created.
File open failed because the file does not exist or is locked.
DMUS_E_LOADER_FORMATNOTSUPPORTED
The object cannot be loaded because the data format is not supported.
No class identifier was supplied in the object description.
No file name was supplied in the object description.
The object was not found.
An attempt was made to play on a nonexistent audiopath.
The segment does not contain an embedded audiopath configuration.
There is no master clock in the performance, perhaps because the DirectMusicPerformance8.InitAudio method was not called.
Articulation missing from an instrument in the DLS collection.
No object interface is available.
No sink is connected to the synthesizer.
The object cannot be unloaded because it is not present on the port.
The requested item is not contained by the object.
A required object is not initialized or failed to initialize.
An attempt to use this object failed because it was not loaded.
The object being loaded is not a valid DLS collection.
The method is not implemented. This value can be returned if a driver does not support a feature necessary for the operation.
The wave chunk has more than one interleaved channel. DLS format requires mono.
Wave data is not in PCM format.
The requested time is outside the range of the segment.
Insufficient memory to complete task.
The port is not a capture port.
Not an output port.
The requested operation cannot be performed while there are instantiated ports in any process in the system.
Segment initialization failed, probably because of a critical memory situation.
Setting the parameter is not supported.
The synthesizer has been activated, and the parameter cannot be changed.
The synthesizer has not been activated and cannot process data.
The synthesizer is not properly configured or opened.
The time requested is in the past.
The stream object's data does not have a tool header as the first chunk and, therefore, cannot be read by the graph object.
The stream object's data does not have a track header as the first chunk and, therefore, cannot be read by the segment object.
There is no track of the requested type.
Parameter is unavailable because it has been disabled.
Parameter is unsupported on this track.
The property set or item is not implemented by this port.
The synthesizer does not support this type of download.
The stream does not contain data supported by the loading object.
Invalid buffer format was handed to the synthesizer sink.