From f7bbf2c1d8d780294f3e016aff239ca35eb6516e Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Wed, 7 Aug 2019 21:45:12 +0200 Subject: Tree: clang-format without the include sorting --- gr-vocoder/lib/codec2_encode_sp_impl.h | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'gr-vocoder/lib/codec2_encode_sp_impl.h') 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 */ -- cgit v1.2.3