Piotr Krysik | df97869 | 2017-09-27 21:58:24 +0200 | [diff] [blame] | 1 | /* -*- c++ -*- */ |
| 2 | /* |
| 3 | * @file |
| 4 | * @author (C) 2017 by Piotr Krysik <ptrkrysik@gmail.com> |
| 5 | * @section LICENSE |
| 6 | * |
| 7 | * Gr-gsm is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 3, or (at your option) |
| 10 | * any later version. |
| 11 | * |
| 12 | * Gr-gsm is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with gr-gsm; see the file COPYING. If not, write to |
| 19 | * the Free Software Foundation, Inc., 51 Franklin Street, |
| 20 | * Boston, MA 02110-1301, USA. |
| 21 | */ |
| 22 | |
| 23 | #include <math.h> |
| 24 | #include "time_sample_ref.h" |
| 25 | |
| 26 | namespace gr { |
| 27 | namespace gsm { |
Piotr Krysik | c5ed045 | 2019-07-16 16:17:43 +0200 | [diff] [blame] | 28 | time_sample_ref::time_sample_ref(double samp_rate, double resamp_rate): |
| 29 | d_samp_rate(samp_rate), |
| 30 | d_resamp_rate(resamp_rate), |
| 31 | d_ref_time(0.0), |
| 32 | d_ref_offset(0), |
| 33 | d_original_ref_offset(0) |
Piotr Krysik | df97869 | 2017-09-27 21:58:24 +0200 | [diff] [blame] | 34 | { |
| 35 | } |
Piotr Krysik | df97869 | 2017-09-27 21:58:24 +0200 | [diff] [blame] | 36 | |
Piotr Krysik | c5ed045 | 2019-07-16 16:17:43 +0200 | [diff] [blame] | 37 | time_sample_ref::~time_sample_ref() |
Piotr Krysik | df97869 | 2017-09-27 21:58:24 +0200 | [diff] [blame] | 38 | { |
Piotr Krysik | df97869 | 2017-09-27 21:58:24 +0200 | [diff] [blame] | 39 | } |
| 40 | } // namespace gsm |
| 41 | } // namespace gr |
| 42 | |