mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 22:14:45 -04:00
Multiple audio support: DSD demodulator: allow to use native 8k decoder if audio sample rate is 8k
This commit is contained in:
@@ -36,6 +36,11 @@ DSDDecoder::~DSDDecoder()
|
||||
{
|
||||
}
|
||||
|
||||
void DSDDecoder::set48k(bool to48k)
|
||||
{
|
||||
m_decoder.setUpsampling(to48k ? 6 : 0);
|
||||
}
|
||||
|
||||
void DSDDecoder::setBaudRate(int baudRate)
|
||||
{
|
||||
if (baudRate == 2400)
|
||||
|
||||
Reference in New Issue
Block a user