This file is indexed.

/usr/include/libroardsp/convert.h is in libroar-dev 0.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
//convert.h:

/*
 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2011
 *
 *  This file is part of libroar a part of RoarAudio,
 *  a cross-platform sound system for both, home and professional use.
 *  See README for details.
 *
 *  This file is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 3
 *  as published by the Free Software Foundation.
 *
 *  libroar 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 software; see the file COPYING.  If not, write to
 *  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
 *  Boston, MA 02110-1301, USA.
 *
 *  NOTE for everyone want's to change something and send patches:
 *  read README and HACKING! There a addition information on
 *  the license of this document you need to read before you send
 *  any patches.
 *
 *  NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc
 *  or libpulse*:
 *  The libs libroaresd, libroararts and libroarpulse link this lib
 *  and are therefore GPL. Because of this it may be illigal to use
 *  them with any software that uses libesd, libartsc or libpulse*.
 */

#ifndef _LIBROARDSP_CONVERT_H_
#define _LIBROARDSP_CONVERT_H_

#include "libroardsp.h"

int roar_conv_bits       (void * out, void * in, int samples, int from, int to);

                                                                 // implemnted?
int roar_conv_bits_8to16  (void * out, void * in, int samples);  // yes
int roar_conv_bits_8to24  (void * out, void * in, int samples);
int roar_conv_bits_8to32  (void * out, void * in, int samples);  // yes
int roar_conv_bits_16to8  (void * out, void * in, int samples);  // yes
int roar_conv_bits_16to24 (void * out, void * in, int samples);
int roar_conv_bits_16to32 (void * out, void * in, int samples);  // yes
int roar_conv_bits_24to8  (void * out, void * in, int samples);
int roar_conv_bits_24to16 (void * out, void * in, int samples);
int roar_conv_bits_24to32 (void * out, void * in, int samples);  // yes
int roar_conv_bits_32to8  (void * out, void * in, int samples);  // yes
int roar_conv_bits_32to16 (void * out, void * in, int samples);  // yes
int roar_conv_bits_32to24 (void * out, void * in, int samples);

int roar_conv_chans (void * out, void * in, int samples, int from, int to, int bits);

                                                                           // implmented?  working Needed?
int roar_conv_chans_1ton8  (void * out, void * in, int samples, int to);   // yes          ?       yes
int roar_conv_chans_1ton16 (void * out, void * in, int samples, int to);   // yes          yes     yes
int roar_conv_chans_1ton32 (void * out, void * in, int samples, int to);   // yes          ?       yes
int roar_conv_chans_1to28  (void * out, void * in, int samples);           // yes          yes     no
int roar_conv_chans_1to216 (void * out, void * in, int samples);           // yes          yes     no

int roar_conv_chans_nto18  (void * out, void * in, int samples, int from); // yes          yes?    yes
int roar_conv_chans_nto116 (void * out, void * in, int samples, int from); // yes          yes?    yes
int roar_conv_chans_nto132 (void * out, void * in, int samples, int from); // yes          ?       yes

int roar_conv_chans_2to18  (void * out, void * in, int samples);           // yes          yes     no
int roar_conv_chans_2to116 (void * out, void * in, int samples);           // yes          yes     no
int roar_conv_chans_2to38  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_2to316 (void * out, void * in, int samples);           // yes          yes     yes
int roar_conv_chans_2to48  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_2to416 (void * out, void * in, int samples);           // yes          yes     yes
int roar_conv_chans_2to58  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_2to516 (void * out, void * in, int samples);           // yes          yes     yes
int roar_conv_chans_2to68  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_2to616 (void * out, void * in, int samples);           // yes          yes     yes

// FIXME: in this block we need to add a lot funcs more
int roar_conv_chans_3to28  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_3to216 (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_4to28  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_4to216 (void * out, void * in, int samples);           // yes          ?       yes
int roar_conv_chans_5to28  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_5to216 (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_6to28  (void * out, void * in, int samples);           // no           ?       yes
int roar_conv_chans_6to216 (void * out, void * in, int samples);           // no           ?       yes

int roar_conv_rate       (void * out, void * in, int samples, int from, int to, int bits, int channels);
int roar_conv_rate_8     (void * out, void * in, int samples, int from, int to, int channels);
int roar_conv_rate_16    (void * out, void * in, int samples, int from, int to, int channels);
int roar_conv_rate_161zoh(void * out, void * in, int samples, int from, int to);
int roar_conv_rate_162zoh(void * out, void * in, int samples, int from, int to);
int roar_conv_rate_16nzoh(void * out, void * in, int samples, int from, int to, int channels);
int roar_conv_rate_SRC   (void * out, void * in, int samples, int from, int to, int bits, int channels);

int roar_conv_rate2      (void * out, void * in, int outsamples, int samples, int bits, int channels);

int roar_conv_codec (void * out, void * in, int samples, int from, int to, int bits);

int roar_conv_signedness  (void * out, void * in, int samples, int from, int to, int bits);
int roar_conv_codec_s2u8  (void * out, void * in, int samples);
int roar_conv_codec_s2u16 (void * out, void * in, int samples);
int roar_conv_codec_s2u32 (void * out, void * in, int samples);
int roar_conv_codec_u2s8  (void * out, void * in, int samples);
int roar_conv_codec_u2s16 (void * out, void * in, int samples);
int roar_conv_codec_u2s32 (void * out, void * in, int samples);

int roar_conv_endian      (void * out, void * in, int samples, int from, int to, int bits);

                                                                // implemnted?
int roar_conv_endian_16   (void * out, void * in, int samples); // yes
int roar_conv_endian_24   (void * out, void * in, int samples); // yes
int roar_conv_endian_32   (void * out, void * in, int samples); // yes

int roar_conv       (void * out, void * in, int samples, struct roar_audio_info * from, struct roar_audio_info * to);
int roar_conv2(void * out, void * in, size_t inlen, struct roar_audio_info * from, struct roar_audio_info * to, size_t bufsize);

int roar_conv_poly4_16  (int16_t * out, int16_t * in, size_t olen, size_t ilen);
int roar_conv_poly4_16s (int16_t * out, int16_t * in, size_t olen, size_t ilen, float step);

#endif

//ll