API: How do I get a reference to the master bus?

I am calling getBusList on my master bank in order to find a reference to the global bus, but the list is coming back empty.

What is the best way to get a handle on the global bus? I want to call pause, unpause, and stop on all audio in my project and I think this is the right way to do it.

EDIT: After some serious digging around the docs, I found this page which mentioned how bus paths worked. I gave “bus:/” a try and that got me the master bus!

1 Like