|
HosrDiretta
|
Format configuration class.Assist in generating play FormatID. More...
#include <Format.hpp>
Public Member Functions | |
| FormatConfigure () | |
| Constructor. | |
| FormatConfigure (FormatID fmt) | |
| Constructor from FormatID. | |
| operator bool () const | |
| Validate as a playback ID. | |
| operator FormatID () const | |
| Cast to FormatID. | |
| bool | isValid () const |
| Check if it is a valid playback format. | |
| bool | isPCM () const |
| Check PCM. | |
| bool | isSigned () const |
| Check Signed PCM. | |
| bool | isFloat () const |
| Check Float PCM. | |
| bool | isDSD () const |
| Check DSD. | |
| bool | isDSD1 () const |
| Check DSD 1bit. | |
| bool | isDSD4 () const |
| Check DSD 4bit. | |
| bool | isDSDlittle () const |
| Check DSD little-endian. | |
| bool | isDSDbig () const |
| Check DSD big-endian. | |
| bool | isDSDmsb () const |
| Check DSD MSB first. | |
| bool | isDSDlsb () const |
| Check DSD LSB first. | |
| std::uint32_t | getWid () const |
| Get byte width of one sample in one channel. | |
| std::uint32_t | getBits () const |
| Get bit depth. | |
| std::uint32_t | getChannel () const |
| Get number of channels. | |
| std::uint32_t | getFrameSize () const |
| Get frame size. | |
| std::uint32_t | getSpeed () const |
| Get playback speed. | |
| std::uint32_t | getSpeedBase () const |
| Get base playback speed (44.1kHz,48kHz,etc.) | |
| std::uint32_t | getSpeedMulti () const |
| Get playback speed multiplier (2x,4x,etc.) | |
| std::uint32_t | get1secSize () const |
| Get 1 second data size. | |
| bool | setSpeed (std::uint64_t) |
| Set playback speed. | |
| bool | setChannel (std::uint32_t) |
| Set number of channels. | |
| bool | setFormat (FormatID) |
| Set playback format. | |
| std::uint8_t | getMuteByte () const |
| Get mute data byte. | |
| bool | isDDS () const |
| Check Diretta Direct Mode. | |
| void | setDDS (bool) |
Format configuration class.Assist in generating play FormatID.