Commit c8c553c7 authored by Max Kellermann's avatar Max Kellermann

pcm/Export: add method IsDopEnabled()

parent c97aabe4
......@@ -182,6 +182,14 @@ public:
void Open(SampleFormat sample_format, unsigned channels,
Params params) noexcept;
bool IsDopEnabled() const noexcept {
#ifdef ENABLE_DSD
return dsd_mode != DsdMode::NONE;
#else
return false;
#endif
}
/**
* Reset the filter's state, e.g. drop/flush buffers.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment