SoundAssetBuilder.h 914 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AssetBuilderSDK/AssetBuilderBusses.h>
  10. namespace MiniAudio
  11. {
  12. class SoundAssetBuilder
  13. : public AssetBuilderSDK::AssetBuilderCommandBus::Handler
  14. {
  15. public:
  16. AZ_RTTI(SoundAssetBuilder, "{b7db2037-18c7-4bc7-9434-7cd5523d6649}");
  17. SoundAssetBuilder() = default;
  18. //! AssetBuilderCommandBus overrides ...
  19. void CreateJobs(const AssetBuilderSDK::CreateJobsRequest& request, AssetBuilderSDK::CreateJobsResponse& response) const;
  20. void ProcessJob(const AssetBuilderSDK::ProcessJobRequest& request, AssetBuilderSDK::ProcessJobResponse& response) const;
  21. void ShutDown() override {}
  22. };
  23. } // namespace MiniAudio