AkSinkFactory.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*******************************************************************************
  2. The content of this file includes portions of the AUDIOKINETIC Wwise Technology
  3. released in source code form as part of the SDK installer package.
  4. Commercial License Usage
  5. Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
  6. may use this file in accordance with the end user license agreement provided
  7. with the software or, alternatively, in accordance with the terms contained in a
  8. written agreement between you and Audiokinetic Inc.
  9. Apache License Usage
  10. Alternatively, this file may be used under the Apache License, Version 2.0 (the
  11. "Apache License"); you may not use this file except in compliance with the
  12. Apache License. You may obtain a copy of the Apache License at
  13. http://www.apache.org/licenses/LICENSE-2.0.
  14. Unless required by applicable law or agreed to in writing, software distributed
  15. under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
  16. OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
  17. the specific language governing permissions and limitations under the License.
  18. Copyright (c) 2023 Audiokinetic Inc.
  19. *******************************************************************************/
  20. // AkSinkFactory.h
  21. /// \file
  22. /// Plug-in unique ID and creation functions (hooks) necessary to register the mixer plug-in in the sound engine.
  23. /// <br><b>Wwise effect name:</b> Sink
  24. /// <br><b>Library file:</b> AkSink.lib
  25. #ifndef _AK_SINK_FACTORY_H_
  26. #define _AK_SINK_FACTORY_H_
  27. /// \file
  28. /// Registers the Audio Sink Sample plugin automatically.
  29. /// This file should be included once in a .CPP (not a .h, really). The simple inclusion of this file and the linking of the library is enough to use the plugin.
  30. /// <b>WARNING</b>: Include this file only if you wish to link statically with the plugins. Dynamic Libaries (DLL, so, etc) are automatically detected and do not need this include file.
  31. /// <br><b>Wwise plugin name:</b> Audio Sink Sample
  32. /// <br><b>Library file:</b> AkSink.lib
  33. const unsigned long AKEFFECTID_SINK = 152;
  34. #if defined(AK_WIN)
  35. AK_STATIC_LINK_PLUGIN(AkSink)
  36. #endif
  37. #endif // _AK_SINK_FACTORY_H_