DS
mmUnlockChannels

Back to Index

Prototype

void mmUnlockChannels( mm_word bitmask );

Parameters

bitmask

Selection of channels to unlock. Bit0 = Channel0, Bit1 = Channel1, Bit2 = Channel2 ... Bit15 = Channel15

Description

Unlocks audio channels to allow Maxmod to use them. This function can be used to restore channel usage to Maxmod when you are finished using certain channels.

Note that in the "Interpolated Audio" mode, channels can not be unlocked. To unlock channels in the interpolated mode you must reset the audio system. To reset the audio system, use mmSelectMode.

See Also

mmSelectMode, mmLockChannels