blob: 9a76ea7e9009b50ddae3dc922a395de71754d918 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <memory>
#include "audio_element.hpp"
#include "audio_element_handle.hpp"
namespace audio {
struct AudioTaskArgs {
std::shared_ptr<IAudioElement>& element;
};
auto StartAudioTask(const std::string& name,
std::shared_ptr<IAudioElement> element)
-> std::unique_ptr<AudioElementHandle>;
void AudioTaskMain(void* args);
} // namespace audio
|