1
0
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:
f4exb
2018-03-28 08:43:11 +02:00
parent c4b092dff0
commit f71446b6ec
9 changed files with 112 additions and 66 deletions
@@ -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)