audio_bus_clear_emitters

This function clears the list of all audio emitters on the given bus and relinks them to the main bus.

NOTE A bus that has no emitters linked to it is not processed.

 

Syntax:

audio_bus_clear_emitters(bus);

ArgumentTypeDescription
busAudioBus StructThe bus of which to clear the emitters

 

Returns:

N/A

 

Example:

audio_bus_clear_emitters(bus1);

The above code clears all emitters linked to an existing audio bus bus1, reassigning them to the main audio bus audio_bus_main.