This struct encapsulates one frame of mono audio output. More...
#include <AudioOutput.h>
This struct encapsulates one frame of mono audio output.
Internally, it really just boils down to two int values, but the struct provides useful API an top of that. For more detail see MonoOutput .
Definition at line 161 of file AudioOutput.h.
Public Member Functions StereoOutput (AudioOutputStorage_t l, AudioOutputStorage_t r) Construct an audio frame from raw values (zero-centered)Default constructor.
Does not initialize the sample!
Definition at line 165 of file AudioOutput.h.
Member Function Documentation ◆ clip() ◆ fromSFix()template<int8_t NI, int8_t NF, uint64_t RANGE, int8_t _NI, int8_t _NF, uint64_t _RANGE>
static StereoOutput StereoOutput::fromSFix ( SFix< NI, NF, RANGE > l, SFix< _NI, _NF, _RANGE > r ) inlinestatic ◆ portable()Conversion to int operator: If used in a mono config, returns only the left channel (and gives a compile time warning).
This could be turned into an operator for implicit conversion in this case. For now we chose to apply conversion on demand, only, as most of the time using StereoOutput in a mono config, is not intended.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4