WAVE file player. More...
#include <ame_Pcm.hpp>
Public Member Functions | |
constexpr | WavPlayer (const WavReader< BytePointerType > &reader) |
void | play () |
Start (or re-start) playing. | |
void | pause () |
Pause. | |
void | skipToHome () |
Skip to home. | |
template<typename FloatType , size_t N> | |
void | process (AudioBlockView< FloatType, N > &block) |
Add to sound to AudioBlockView if playing. More... | |
bool | isPlaying () const noexcept |
void | setLoopPlay (bool loopPlay) |
bool | isLooping () const noexcept |
WAVE file player.
BytePointerType | unsigned char* (or CV-qualified) |
|
inline |
Add to sound to AudioBlockView if playing.
FloatType | float or double |
block | dest |
再生停止
normalize [-1, 1]