diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 21:45:12 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | f7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch) | |
tree | e09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-vocoder/lib/codec2_decode_ps_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-vocoder/lib/codec2_decode_ps_impl.h')
-rw-r--r-- | gr-vocoder/lib/codec2_decode_ps_impl.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/gr-vocoder/lib/codec2_decode_ps_impl.h b/gr-vocoder/lib/codec2_decode_ps_impl.h index db5ba2eef1..d14603be9e 100644 --- a/gr-vocoder/lib/codec2_decode_ps_impl.h +++ b/gr-vocoder/lib/codec2_decode_ps_impl.h @@ -26,27 +26,29 @@ #include <gnuradio/vocoder/codec2_decode_ps.h> namespace gr { - namespace vocoder { +namespace vocoder { - class codec2_decode_ps_impl : public codec2_decode_ps - { - private: - CODEC2 *d_codec2; - int d_samples_per_frame, d_bits_per_frame, d_bytes_per_frame; - std::vector<unsigned char> d_frame_buf; //!< Store 1 packed frame for decoding +class codec2_decode_ps_impl : public codec2_decode_ps +{ +private: + CODEC2* d_codec2; + int d_samples_per_frame, d_bits_per_frame, d_bytes_per_frame; + std::vector<unsigned char> d_frame_buf; //!< Store 1 packed frame for decoding - void pack_frame(const unsigned char *in_unpacked, unsigned char *out_packed); //!< Pack the bytes from unpacked bits for codec2 + void pack_frame( + const unsigned char* in_unpacked, + unsigned char* out_packed); //!< Pack the bytes from unpacked bits for codec2 - public: - codec2_decode_ps_impl(int mode, int samples_per_frame, int bits_per_frame); - ~codec2_decode_ps_impl(); +public: + codec2_decode_ps_impl(int mode, int samples_per_frame, int bits_per_frame); + ~codec2_decode_ps_impl(); - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; - } /* namespace vocoder */ +} /* namespace vocoder */ } /* namespace gr */ #endif /* INCLUDED_VOCODER_CODEC2_DECODE_PS_IMPL_H */ |