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_encode_sp_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-vocoder/lib/codec2_encode_sp_impl.h')
-rw-r--r-- | gr-vocoder/lib/codec2_encode_sp_impl.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/gr-vocoder/lib/codec2_encode_sp_impl.h b/gr-vocoder/lib/codec2_encode_sp_impl.h index 17d6f4e2a1..4457904421 100644 --- a/gr-vocoder/lib/codec2_encode_sp_impl.h +++ b/gr-vocoder/lib/codec2_encode_sp_impl.h @@ -26,27 +26,29 @@ #include <gnuradio/vocoder/codec2_encode_sp.h> namespace gr { - namespace vocoder { +namespace vocoder { - class codec2_encode_sp_impl : public codec2_encode_sp - { - private: - CODEC2 *d_codec2; - int d_samples_per_frame, d_bits_per_frame; - std::vector<unsigned char> d_frame_buf; //!< Save 1 CODEC2 frame +class codec2_encode_sp_impl : public codec2_encode_sp +{ +private: + CODEC2* d_codec2; + int d_samples_per_frame, d_bits_per_frame; + std::vector<unsigned char> d_frame_buf; //!< Save 1 CODEC2 frame - void unpack_frame(const unsigned char *packed, unsigned char *out); //!< Unpack the bytes from codec2 into unpacked bits + void + unpack_frame(const unsigned char* packed, + unsigned char* out); //!< Unpack the bytes from codec2 into unpacked bits - public: - codec2_encode_sp_impl(int mode, int samples_per_frame, int bits_per_frame); - ~codec2_encode_sp_impl(); +public: + codec2_encode_sp_impl(int mode, int samples_per_frame, int bits_per_frame); + ~codec2_encode_sp_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_ENCODE_SP_IMPL_H */ |