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-audio/lib/oss/oss_source.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-audio/lib/oss/oss_source.h')
-rw-r--r-- | gr-audio/lib/oss/oss_source.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/gr-audio/lib/oss/oss_source.h b/gr-audio/lib/oss/oss_source.h index 1180a7b35a..ec9972bd43 100644 --- a/gr-audio/lib/oss/oss_source.h +++ b/gr-audio/lib/oss/oss_source.h @@ -27,36 +27,36 @@ #include <string> namespace gr { - namespace audio { - - /*! - * \brief audio source using OSS - * \ingroup audio_blk - * - * Output signature is one or two streams of floats. - * Output samples will be in the range [-1,1]. - */ - class oss_source : public source - { - int d_sampling_rate; - std::string d_device_name; - int d_fd; - short *d_buffer; - int d_chunk_size; - - public: - oss_source(int sampling_rate, - const std::string device_name = "", - bool ok_to_block = true); - - ~oss_source(); - - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; - - } /* namespace audio */ +namespace audio { + +/*! + * \brief audio source using OSS + * \ingroup audio_blk + * + * Output signature is one or two streams of floats. + * Output samples will be in the range [-1,1]. + */ +class oss_source : public source +{ + int d_sampling_rate; + std::string d_device_name; + int d_fd; + short* d_buffer; + int d_chunk_size; + +public: + oss_source(int sampling_rate, + const std::string device_name = "", + bool ok_to_block = true); + + ~oss_source(); + + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; + +} /* namespace audio */ } /* namespace gr */ #endif /* INCLUDED_AUDIO_OSS_SOURCE_H */ |