Fork of Tangara with customizations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tangara-fw/src/audio/include/audio_task.hpp

19 lines
322 B

#pragma once
#include <memory>
#include "audio_element.hpp"
namespace audio {
struct AudioTaskArgs {
std::shared_ptr<IAudioElement>& element;
};
auto StartAudioTask(const std::string& name,
std::shared_ptr<IAudioElement> element) -> void;
void AudioTaskMain(void* args);
} // namespace audio