This command is used to copy a packet
into the play queue.
The packet may not necessarily be played
instantly.
If data is already playing on the specified
output instance, the new data will only begin playing after the already
playing data has finished.
Even if there is no data currently playing,
the data may not be played instantly. This depends on values set by
mnSetOutputSmoothValues.
The sound format used must be the same as the format of the data. So if you want to play sound from an input instance, the output instance must have the same format as the input instance. You can change the sound format of the instance using mnSetOutputFormat, mnSetOutputFormatHigh, mnSetOutputFormatMedium and mnSetOutputFormatLow.
int InstanceID: The output instance ID that this command should use.
long long int Packet: This is the packet that should be played. Everything up to the used size is played (regardless of cursor position and memory size).
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net