pcm_export: support packing SAMPLE_FORMAT_DSD_OVER_USB
It's a padded 24 bit format.
This commit is contained in:
parent
ec61b3a5fc
commit
a0730cf264
@ -40,7 +40,7 @@ pcm_export_open(struct pcm_export_state *state,
|
|||||||
enum sample_format sample_format,
|
enum sample_format sample_format,
|
||||||
bool pack, bool reverse_endian)
|
bool pack, bool reverse_endian)
|
||||||
{
|
{
|
||||||
state->pack24 = pack && sample_format == SAMPLE_FORMAT_S24_P32;
|
state->pack24 = pack && (sample_format == SAMPLE_FORMAT_S24_P32 || sample_format == SAMPLE_FORMAT_DSD_OVER_USB);
|
||||||
|
|
||||||
state->reverse_endian = 0;
|
state->reverse_endian = 0;
|
||||||
if (reverse_endian) {
|
if (reverse_endian) {
|
||||||
|
Loading…
Reference in New Issue
Block a user