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

21 lines
393 B

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