output/wasapi: check ENABLE_DSD before setting dsd_mode
This commit is contained in:
parent
ee6603ed38
commit
f3d67115d7
|
@ -575,8 +575,8 @@ WasapiOutput::DoOpen(AudioFormat &audio_format)
|
|||
#endif
|
||||
if (require_export) {
|
||||
PcmExport::Params params;
|
||||
params.dsd_mode = PcmExport::DsdMode::NONE;
|
||||
#ifdef ENABLE_DSD
|
||||
params.dsd_mode = PcmExport::DsdMode::NONE;
|
||||
if (audio_format.format == SampleFormat::DSD) {
|
||||
params.dsd_mode = PcmExport::DsdMode::DOP;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue