MOS
sound_stream.hpp
1 #pragma once
2 
3 #include <glm/glm.hpp>
4 #include <memory>
5 
6 #include <mos/aud/source.hpp>
7 #include <mos/aud/stream.hpp>
8 
9 namespace mos {
10 namespace aud {
11 
13 class Sound_stream final {
14 public:
15  explicit Sound_stream(Shared_stream stream, Source source = Source());
16 
18  Shared_stream stream;
19 
22 };
23 } // namespace aud
24 } // namespace mos
Source source
Source data.
Definition: sound_stream.hpp:21
Stream audio from file, combined with source data.
Definition: sound_stream.hpp:13
Base class for the audio source.
Definition: source.hpp:9
Shared_stream stream
Stream used for the source.
Definition: sound_stream.hpp:18