// SONIC ROBO BLAST 2 //----------------------------------------------------------------------------- // Copyright (C) 2022-2023 by Ronald "Eidolon" Kinard // // This program is free software distributed under the // terms of the GNU General Public License, version 2. // See the 'LICENSE' file for more details. //----------------------------------------------------------------------------- #ifndef __SRB2_AUDIO_CHUNK_LOAD_HPP__ #define __SRB2_AUDIO_CHUNK_LOAD_HPP__ #include #include #include #include "sound_chunk.hpp" namespace srb2::audio { /// @brief Try to load a chunk from the given byte span. std::optional try_load_chunk(tcb::span data); } // namespace srb2::audio #endif // __SRB2_AUDIO_CHUNK_LOAD_HPP__