mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-08 01:19:59 +01:00
Fix compilation error when HAS_SRC is defined.
This commit is contained in:
parent
3e5a871287
commit
d9d6846751
|
|
@ -415,7 +415,7 @@ unsigned int CFMNetwork::readData(float* out, unsigned int nOut)
|
|||
return 0U;
|
||||
|
||||
#if defined(HAS_SRC)
|
||||
if ((m_protocol == RAW) && (m_sampleRate != MMDVM_SAMPLERATE)) {
|
||||
if ((m_protocol == FM_NETWORK_PROTOCOL::RAW) && (m_sampleRate != MMDVM_SAMPLERATE)) {
|
||||
unsigned int nIn = (nOut * m_sampleRate) / MMDVM_SAMPLERATE;
|
||||
|
||||
if (bytes < nIn) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue