pcm/Order: new library to convert from FLAC to ALSA channel order
This new library is integrated in the PcmExport class and (if enabled) converts MPD's channel order (= FLAC channel order) to ALSA channel order. This fixes: http://bugs.musicpd.org/view.php?id=3147 and http://bugs.musicpd.org/view.php?id=3255
This commit is contained in:
@@ -537,7 +537,7 @@ oss_probe_sample_format(int fd, SampleFormat sample_format,
|
||||
*oss_format_r = oss_format;
|
||||
|
||||
#ifdef AFMT_S24_PACKED
|
||||
pcm_export.Open(sample_format, 0, false, false,
|
||||
pcm_export.Open(sample_format, 0, true, false, false,
|
||||
oss_format == AFMT_S24_PACKED,
|
||||
oss_format == AFMT_S24_PACKED &&
|
||||
!IsLittleEndian());
|
||||
|
Reference in New Issue
Block a user