DS
mmLockChannels

Back to Index

Prototype

void mmLockChannels( mm_word bitmask );

Parameters

bitmask

Selection of channels to lock. Bit0 = Channel0, Bit1 = Channel1 ... Bit15 = Channel15

Description

This function locks audio channels to prevent Maxmod from using them. This is for when you need to operate on the DS hardware channels directly. Note that if you use this function while music or sound effects are playing, any active notes that are using the channels to be locked will be cut.

See Also

mmUnlockChannels