blob: f21bdd504a009b08174c03a72201c0a0ded591bc [file] [log] [blame]
Piotr Krysikdf978692017-09-27 21:58:24 +02001/* -*- 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
26namespace gr {
27 namespace gsm {
Piotr Krysikc5ed0452019-07-16 16:17:43 +020028 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 Krysikdf978692017-09-27 21:58:24 +020034 {
35 }
Piotr Krysikdf978692017-09-27 21:58:24 +020036
Piotr Krysikc5ed0452019-07-16 16:17:43 +020037 time_sample_ref::~time_sample_ref()
Piotr Krysikdf978692017-09-27 21:58:24 +020038 {
Piotr Krysikdf978692017-09-27 21:58:24 +020039 }
40 } // namespace gsm
41} // namespace gr
42