1 #ifndef foolfefilterhfoo 2 #define foolfefilterhfoo 3 4 /*** 5 This file is part of PulseAudio. 6 7 Copyright 2014 David Henningsson, Canonical Ltd. 8 9 PulseAudio is free software; you can redistribute it and/or modify 10 it under the terms of the GNU Lesser General Public License as published 11 by the Free Software Foundation; either version 2.1 of the License, 12 or (at your option) any later version. 13 14 PulseAudio is distributed in the hope that it will be useful, but 15 WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 General Public License for more details. 18 19 You should have received a copy of the GNU Lesser General Public License 20 along with PulseAudio; if not, write to the Free Software 21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 22 USA. 23 ***/ 24 25 #include <pulse/sample.h> 26 #include <pulse/channelmap.h> 27 #include <pulsecore/memchunk.h> 28 #include <pulsecore/memblockq.h> 29 30 typedef struct pa_lfe_filter pa_lfe_filter_t; 31 32 pa_lfe_filter_t * pa_lfe_filter_new(const pa_sample_spec* ss, const pa_channel_map* cm, float crossover_freq, size_t maxrewind); 33 void pa_lfe_filter_free(pa_lfe_filter_t *); 34 void pa_lfe_filter_reset(pa_lfe_filter_t *); 35 void pa_lfe_filter_rewind(pa_lfe_filter_t *, size_t amount); 36 pa_memchunk * pa_lfe_filter_process(pa_lfe_filter_t *filter, pa_memchunk *buf); 37 void pa_lfe_filter_update_rate(pa_lfe_filter_t *, uint32_t new_rate); 38 39 #endif 40