|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <audio.h>
Public Member Functions | |
| ~Stream () | |
| Stream (const Stream &)=delete | |
| Stream & | operator= (const Stream &)=delete |
| void | Feed (const std::function< void(std::span< float >, std::span< float >)> &fill) |
| void | SetVolume (float volume) |
| From nothing to full. | |
Static Public Member Functions | |
| static std::unique_ptr< Stream > | Open (const AudioDevice &device) |
Sound we make as it plays, two channels a buffer at a time, for what goes on and on, such as the rain.
|
delete |
| void nanommo::Stream::Feed | ( | const std::function< void(std::span< float >, std::span< float >)> & | fill | ) |
|
static |
| void nanommo::Stream::SetVolume | ( | float | volume | ) |