pcm/Export: add method IsDopEnabled()
This commit is contained in:
parent
c97aabe43a
commit
c8c553c75c
@ -182,6 +182,14 @@ public:
|
|||||||
void Open(SampleFormat sample_format, unsigned channels,
|
void Open(SampleFormat sample_format, unsigned channels,
|
||||||
Params params) noexcept;
|
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.
|
* Reset the filter's state, e.g. drop/flush buffers.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user