AudioSoundMode Capability/SupportedSoundModes Attribute

I’m working on a plugin that implements the AudioSoundMode Capability, which provides the SupportedSoundModes attribute. I was treating it as being similar to the SupportedMediaCommands Attribute and setting it in onConnect(). However, the plugin was crashing when that assignment occurred. I noticed that the Anthem IP Control Plugin also uses this Capability, but sets the SupportedSoundModes Attribute in onSynchronizeDevices() instead. I can’t test that plugin, but I presume it behaves correctly.

My questions are:
(1) Why does my plugin crash when I set the SupportedSoundModes Attribute in onConnect()?
(2) Should the SupportedSoundModes Attribute only be set in onSynchronizeDevices()? If so, why? Is there any documentation that explains why some Attributes can be set in one place/stage of setup vs another?

Thanks!

HFN

@bill Any thoughts on this? I’d suppose I can always just put in my own custom attributes here, but I just don’t understand why the capability isn’t working the same way other capabilities work? Thanks!