An object that handles export of PCM samples to some instance outside of MPD. More...
#include <pcm_export.h>
Data Fields | |
struct pcm_buffer | dsd_buffer |
The buffer is used to convert DSD samples to the DSD-over-USB format. | |
struct pcm_buffer | pack_buffer |
The buffer is used to pack samples, removing padding. | |
struct pcm_buffer | reverse_buffer |
The buffer is used to reverse the byte order. | |
uint8_t | channels |
The number of channels. | |
bool | dsd_usb |
Convert DSD to DSD-over-USB? Input format must be SAMPLE_FORMAT_DSD and output format must be SAMPLE_FORMAT_S24_P32. | |
bool | shift8 |
Convert (padded) 24 bit samples to 32 bit by shifting 8 bits to the left? | |
bool | pack24 |
Pack 24 bit samples? | |
uint8_t | reverse_endian |
Export the samples in reverse byte order? A non-zero value means the option is enabled and represents the size of each sample (2 or bigger). |
An object that handles export of PCM samples to some instance outside of MPD.
It has a few more options to tweak the binary representation which are not supported by the pcm_convert library.
Definition at line 36 of file pcm_export.h.
uint8_t pcm_export_state::channels |
The number of channels.
Definition at line 62 of file pcm_export.h.
struct pcm_buffer pcm_export_state::dsd_buffer [read] |
The buffer is used to convert DSD samples to the DSD-over-USB format.
Definition at line 43 of file pcm_export.h.
Convert DSD to DSD-over-USB? Input format must be SAMPLE_FORMAT_DSD and output format must be SAMPLE_FORMAT_S24_P32.
Definition at line 69 of file pcm_export.h.
Pack 24 bit samples?
Definition at line 80 of file pcm_export.h.
struct pcm_buffer pcm_export_state::pack_buffer [read] |
The buffer is used to pack samples, removing padding.
Definition at line 50 of file pcm_export.h.
struct pcm_buffer pcm_export_state::reverse_buffer [read] |
The buffer is used to reverse the byte order.
Definition at line 57 of file pcm_export.h.
uint8_t pcm_export_state::reverse_endian |
Export the samples in reverse byte order? A non-zero value means the option is enabled and represents the size of each sample (2 or bigger).
Definition at line 87 of file pcm_export.h.
Convert (padded) 24 bit samples to 32 bit by shifting 8 bits to the left?
Definition at line 75 of file pcm_export.h.