summaryrefslogtreecommitdiff
path: root/src/audio/include/audio_task.hpp
blob: 0588817015db1767939f153c34b9636efc3190b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <memory>

#include "audio_element.hpp"

namespace audio {

struct AudioTaskArgs {
  std::shared_ptr<IAudioElement>& element;
};

auto StartAudioTask(std::shared_ptr<IAudioElement>& element) -> void;

void AudioTaskMain(void* args);

}  // namespace audio