| 1234567891011121314151617181920212223242526272829303132333435 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsOAPrerequisites.h"
- #include "Importer/BsSpecificImporter.h"
- namespace bs
- {
- /** @addtogroup OpenAudio
- * @{
- */
- /** Importer using for importing WAV/FLAC/OGGVORBIS audio files. */
- class OAImporter : public SpecificImporter
- {
- public:
- OAImporter();
- virtual ~OAImporter();
- /** @copydoc SpecificImporter::isExtensionSupported */
- bool isExtensionSupported(const WString& ext) const override;
- /** @copydoc SpecificImporter::isMagicNumberSupported */
- bool isMagicNumberSupported(const UINT8* magicNumPtr, UINT32 numBytes) const override;
- /** @copydoc SpecificImporter::import */
- SPtr<Resource> import(const Path& filePath, SPtr<const ImportOptions> importOptions) override;
- /** @copydoc SpecificImporter::createImportOptions */
- SPtr<ImportOptions> createImportOptions() const override;
- };
- /** @} */
- }
|