The maximum percentage of CPU time that a MIDI stream can use.
BASS_ChannelSetAttribute( HSTREAM handle, BASS_ATTRIB_MIDI_CPU, float limit );
|The MIDI stream handle.
|The CPU usage limit... 0 = automatic, over 100 = limit waiting for samples to load but do not kill voices.
When the CPU usage is limited, BASSMIDI will also limit how long it waits for samples to load. If the required amount of data cannot be loaded in time then a sample will be silenced until it is available and the stream will continue playing other samples as normal in the meantime.
The default value is 0 (automatic), which means the stream's CPU usage will be limited to 100% when it is processed in an update thread (eg. during playback) and will otherwise be unlimited (wait for samples indefinitely and no voice killing).