Skip to content

Commit

Permalink
sdrplay: internal decimation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan van Katwijk committed Jul 19, 2017
1 parent 413f1e1 commit c7efc55
Show file tree
Hide file tree
Showing 46 changed files with 5,349 additions and 128 deletions.
4,170 changes: 4,170 additions & 0 deletions Makefile

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions gui.cpp
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the WFM-RPI
* Many of the ideas as implemented in the WFM_RPI are derived from
Expand Down Expand Up @@ -125,7 +125,7 @@ int16_t latency = 1;
fmRate = inputRate % 256000 == 0 ? 256000 :
inputRate % 192000 == 0 ? 192000 :
inputRate % 240000 == 0 ? 240000 :
inputRate < Khz (400) ? inputRate :
inputRate <= Khz (400) ? inputRate :
inputRate < Khz (850) ? inputRate / 2 :
inputRate < Khz (1300) ? inputRate / 4 :
inputRate < Khz (1900) ? inputRate / 6 :
Expand Down
4 changes: 2 additions & 2 deletions gui.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/fm-constants.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2011, 2012, 2013
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/fm/fm-decoder.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2015
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J program suite.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/fm/fm-demodulator.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/fm/fm-levels.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/fm/fm-processor.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/output/audio-base.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2009, 2010, 2011
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in ESDR are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/output/audiosink.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2009, 2010, 2011
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in ESDR are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/output/tcp-streamer.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/popup-keypad.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J series.
* Many of the ideas as implemented in the SDR-J are derived from
Expand Down
7 changes: 3 additions & 4 deletions includes/rds/charsets.h
@@ -1,11 +1,10 @@
#
/*
*
* Copyright (C) 2013
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J (JSDR).
* This file is part of the SDR-J.
* SDR-J is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
Expand Down
4 changes: 2 additions & 2 deletions includes/rds/rds-blocksynchronizer.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This part of the FM demodulation software is largely a
* rewrite and local adaptation of FMSTACK software
Expand Down
6 changes: 3 additions & 3 deletions includes/rds/rds-decoder.h
@@ -1,10 +1,10 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* cuteSDR (c) M Wheatly 2011
* based on cuteSDR (c) M Wheatly 2011
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
8 changes: 2 additions & 6 deletions includes/rds/rds-group.h
@@ -1,14 +1,10 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
* other work, made available through the GNU general Public License.
* All copyrights of the original authors are recognized.
*
* SDR-J is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
Expand Down
10 changes: 3 additions & 7 deletions includes/rds/rds-groupdecoder.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This part of the FM demodulation software is largely
* a rewrite and local adaptation of FMSTACK software
Expand All @@ -14,11 +14,7 @@
* Last changed : 09.03.2010
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
* other work, made available through the GNU general Public License.
* All copyrights of the original authors are recognized.
*
* SDR-J is free software; you can redistribute it and/or modify
* SDR-J is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
Expand Down
4 changes: 2 additions & 2 deletions includes/various/converter.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2010, 2011, 2012
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/fft-filters.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/fft.h
@@ -1,9 +1,9 @@
#
/*
*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
19 changes: 8 additions & 11 deletions includes/various/fir-filters.h
@@ -1,33 +1,30 @@
#
/*
*
* Copyright (C) 2010, 2011, 2012
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* JFF Consultancy
* Lazy Chair Computing
*
* This file is part of the JFF SDR (JSDR).
* Many of the ideas as implemented in ESDR are derived from
* other work, made available through the GNU general Public License.
* All copyrights of the original authors are recognized.
* This file is part of the sdr-j software suite.
*
* JSDR is free software; you can redistribute it and/or modify
* SDR-J is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* JSDR is distributed in the hope that it will be useful,
* SDR-J is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ESDR; if not, write to the Free Software
* along with SDR-J; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/

#ifndef FIR_FILTERS
#define FIR_FILTERS
#ifndef __FIR_FILTERS__
#define __FIR_FILTERS__

#include "fm-constants.h"
#include <stdlib.h>
Expand Down
4 changes: 2 additions & 2 deletions includes/various/iir-filters.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/oscillator.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/pllC.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2010, 2011
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/program-list.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2014
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J series.
* Many of the ideas as implemented in the SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/resampler.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2010, 2011, 2012
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J.
* Many of the ideas as implemented in SDR-J are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/sincos.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Programming
* Lazy Chair Computing
*
* This file is part of the SDR-J (JSDR).
* Many of the ideas as implemented in JSDR are derived from
Expand Down
4 changes: 2 additions & 2 deletions includes/various/squelchClass.h
@@ -1,8 +1,8 @@
#
/*
* Copyright (C) 2008, 2009, 2010
* Copyright (C) 2015 .. 2017
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair programming
* Lazy Chair Computing
*
* This file is part of the SDR-J (JSDR).
* Many of the ideas as implemented in SDR-J are derived from
Expand Down

0 comments on commit c7efc55

Please sign in to comment.