Skip to content

Instantly share code, notes, and snippets.

@kureikei
Last active April 2, 2017 11:28
Show Gist options
  • Save kureikei/737ff0634784c1e94f02172d812a93ae to your computer and use it in GitHub Desktop.
Save kureikei/737ff0634784c1e94f02172d812a93ae to your computer and use it in GitHub Desktop.
ASErr VoicePlugin::AddNotifier(SPInterfaceMessage *message)
{
ASErr result = kNoErr;
result = sAINotifier->AddNotifier(fPluginRef, "VoicePlugin", kAIDocumentNewNotifier, &fDocumentNewNotifier);
aisdk::check_ai_error(result);
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment