getBus method
Resolves a mixer bus by its bus:/ path ('bus:/' is the master
bus).
Implementation
FmodStudioBus getBus(String path) {
final pathUtf8 = path.toNativeUtf8();
try {
_resources.pointerOut.value = nullptr;
_bindings.check(
_bindings.Studio_System_GetBus(
_system,
pathUtf8,
_resources.pointerOut,
),
'Studio_System_GetBus',
);
return FmodStudioBus._(this, _resources.pointerOut.value);
} finally {
calloc.free(pathUtf8);
}
}