1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

SDRDaemon input: adaptation for 24 bit Rx DSP

This commit is contained in:
f4exb
2018-01-24 08:49:18 +01:00
parent 4448b57b60
commit 3d77c9af9b
3 changed files with 33 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2012 maintech GmbH, Otto-Hahn-Str. 15, 97204 Hoechberg, Germany //
// Copyright (C) 2012 maintech GmbH, Otto-Hahn-Str. 15, 97204 Hoechberg, Germany //
// written by Christian Daniel //
// //
// This program is free software; you can redistribute it and/or modify //
@@ -74,7 +74,7 @@ uint SampleSinkFifo::write(const quint8* data, uint count)
uint remaining;
uint len;
const Sample* begin = (const Sample*)data;
count /= 4;
count /= sizeof(Sample);
total = MIN(count, m_size - m_fill);
if(total < count) {