diff options
Diffstat (limited to 'codecs/sbc/sbc.h')
-rw-r--r-- | codecs/sbc/sbc.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/codecs/sbc/sbc.h b/codecs/sbc/sbc.h new file mode 100644 index 0000000000..5cc8ad0927 --- /dev/null +++ b/codecs/sbc/sbc.h @@ -0,0 +1,37 @@ +/* sbc.h + * Definitions for Bluetooth SBC codec + * + * Copyright 2012, Michal Labedzki for Tieto Corporation + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __CODECS_SBC_H__ +#define __CODECS_SBC_H__ + +void *codec_sbc_init(void); +void codec_sbc_release(void *ctx); +int codec_sbc_get_channels(void *ctx); +int codec_sbc_get_frequency(void *ctx); +int codec_sbc_decode(void *ctx, const void *input, int inputSizeBytes, void *output, + int *outputSizeBytes); + +#endif /* sbc.h */ |