summaryrefslogtreecommitdiff
path: root/src/audio/include/audio_task.hpp
blob: ca75fbd2423f18e627edd8611ed1c14f40c6272a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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