From 181e9c6d5d11cb1e5d36a2777eeb233ad8ed00e5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 9 Oct 2008 18:15:23 +0200 Subject: big pile of updates to match more what happened with libcanberra --- src/converter.h | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'src/converter.h') diff --git a/src/converter.h b/src/converter.h index a3ec182..37c98f7 100644 --- a/src/converter.h +++ b/src/converter.h @@ -1,6 +1,26 @@ #ifndef foosydneyconverterhfoo #define foosydneyconverterhfoo +/*** + This file is part of libsydney. + + Copyright 2007-2008 Lennart Poettering + + libsydney is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 2.1 of the + License, or (at your option) any later version. + + libsydney is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with libsydney. If not, see + . +***/ + #include "sydney.h" #include "volscale.h" #include "bswap.h" @@ -28,6 +48,9 @@ struct sa_converter { sa_bool_t sum_required; sa_bool_t remap_required; + sa_bool_t no_volume; + int32_t *volume_factor, *volume_divisor; + sa_pcm_format_t work_pcm_format; size_t from_sample_size, work_sample_size, to_sample_size; @@ -55,9 +78,6 @@ struct sa_converter { void **from_process_data, **to_process_data; size_t *from_stride, *to_stride; - int32_t *volume_factor, *volume_divisor; - sa_bool_t no_volume; - int *channel_map_table; void *zero_buffer; -- cgit