GNU Radio Manual and C++ API Reference
3.7.5
The Free & Open Software Radio Ecosystem
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
codec2_decode_ps.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2011,2013,2014 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* GNU Radio 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
* GNU Radio 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 GNU Radio; 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
#ifndef INCLUDED_VOCODER_CODEC2_DECODE_PS_H
24
#define INCLUDED_VOCODER_CODEC2_DECODE_PS_H
25
26
#include <
gnuradio/vocoder/api.h
>
27
#include <
gnuradio/vocoder/codec2.h
>
28
#include <
gnuradio/sync_interpolator.h
>
29
30
namespace
gr {
31
namespace
vocoder {
32
33
/*!
34
* \brief CODEC2 Vocoder Decoder
35
* \ingroup audio_blk
36
*
37
* Input: A vector of unpacked bits forming a Codec2 frame.
38
*
39
* Output: 16-bit short values of an audio signal with sampling rate 8 kHz.
40
*
41
* See also gr::vocoder::codec2_encode_sp.
42
*/
43
class
VOCODER_API
codec2_decode_ps
:
virtual
public
sync_interpolator
44
{
45
public
:
46
// gr::vocoder::codec2_decode_ps::sptr
47
typedef
boost::shared_ptr<codec2_decode_ps>
sptr
;
48
49
/*!
50
* \brief Make Codec2 decoder block.
51
*
52
* \param mode Encoded bit rate/mode
53
*/
54
static
sptr
make(
int
mode=
codec2::MODE_2400
);
55
};
56
57
}
/* namespace vocoder */
58
}
/* namespace gr */
59
60
#endif
/* INCLUDED_VOCODER_CODEC2_DECODE_PS_H */
gr-vocoder
include
gnuradio
vocoder
codec2_decode_ps.h
Generated on Fri Oct 3 2014 00:33:50 for GNU Radio Manual and C++ API Reference by
1.8.1.2