Worth changing AUPlayerMBS.OutputDevices to a shared method?


To enumerate audio output devices (e.g. list them in a popup menu), I’m using the AUPlayerMBS.OutputDevices method. However, it’s not a shared method, so I have to create an object just to get the list of devices.

Since the AUPlayerMBS class is more complex than that, I’m feeling it’s a waste of resources to create the whole object, which probably reserves buffers and such, while the method could be shared, making the list obtainable directly.
Thoughts on this?

Good idea. We’ll change it to a shared property for next release.

1 Like

Thank you.