/dports/audio/libfishsound/libfishsound-1.0.0/src/libfishsound/ |
H A D | private.h | 46 typedef struct _FishSound FishSound; typedef 53 typedef FishSound * (*FSCodecInit) (FishSound * fsound); 54 typedef FishSound * (*FSCodecDelete) (FishSound * fsound); 55 typedef int (*FSCodecReset) (FishSound * fsound); 57 typedef int (*FSCodecCommand) (FishSound * fsound, int command, 63 typedef long (*FSCodecEncode_FloatIlv) (FishSound * fsound, 65 typedef long (*FSCodecFlush) (FishSound * fsound); 154 int fish_sound_set_format (FishSound * fsound, int format); 167 int fish_sound_comments_init (FishSound * fsound); 168 int fish_sound_comments_free (FishSound * fsound); [all …]
|
H A D | fishsound.c | 60 fish_sound_set_format (FishSound * fsound, int format) in fish_sound_set_format() 80 FishSound * 83 FishSound * fsound; in fish_sound_new() 107 fsound = fs_malloc (sizeof (FishSound)); in fish_sound_new() 141 fish_sound_flush (FishSound * fsound) in fish_sound_flush() 152 fish_sound_reset (FishSound * fsound) in fish_sound_reset() 162 FishSound * 163 fish_sound_delete (FishSound * fsound) in fish_sound_delete() 207 fish_sound_get_interleave (FishSound * fsound) in fish_sound_get_interleave() 227 fish_sound_get_frameno (FishSound * fsound) in fish_sound_get_frameno() [all …]
|
H A D | flac.c | 112 FishSound* fsound = (FishSound*)client_data; in fs_flac_read_callback() 135 FishSound* fsound = (FishSound*)client_data; in fs_flac_write_callback() 193 FishSound* fsound = (FishSound*)client_data; in fs_flac_meta_callback() 353 FishSound* fsound = (FishSound*)client_data; in fs_flac_enc_write_callback() 568 static FishSound * 708 static FishSound * 709 fs_flac_delete (FishSound * fsound) in fs_flac_delete() 754 fs_flac_reset (FishSound * fsound) in fs_flac_reset() 767 fs_flac_flush (FishSound * fsound) in fs_flac_flush() 782 static FishSound * [all …]
|
H A D | vorbis.c | 207 static FishSound * 208 fs_vorbis_enc_headers (FishSound * fsound) in fs_vorbis_enc_headers() 252 fs_vorbis_encode_write (FishSound * fsound, long len) in fs_vorbis_encode_write() 281 fs_vorbis_finish (FishSound * fsound) in fs_vorbis_finish() 381 static FishSound * 382 fs_vorbis_enc_init (FishSound * fsound) in fs_vorbis_enc_init() 408 fs_vorbis_reset (FishSound * fsound) in fs_vorbis_reset() 419 static FishSound * 420 fs_vorbis_init (FishSound * fsound) in fs_vorbis_init() 450 static FishSound * [all …]
|
H A D | decode.c | 41 fs_decode_update (FishSound * fsound, int interleave) in fs_decode_update() 55 int fish_sound_set_decoded_float (FishSound * fsound, in fish_sound_set_decoded_float() 77 int fish_sound_set_decoded_float_ilv (FishSound * fsound, in fish_sound_set_decoded_float_ilv() 100 fish_sound_decode (FishSound * fsound, unsigned char * buf, long bytes) in fish_sound_decode() 127 int fish_sound_set_decoded_callback (FishSound * fsound, in fish_sound_set_decoded_callback()
|
H A D | comments.c | 223 fish_sound_comment_get_vendor (FishSound * fsound) in fish_sound_comment_get_vendor() 231 fish_sound_comment_first (FishSound * fsound) in fish_sound_comment_first() 239 fish_sound_comment_first_byname (FishSound * fsound, char * name) in fish_sound_comment_first_byname() 273 fish_sound_comment_next_byname (FishSound * fsound, in fish_sound_comment_next_byname() 295 fish_sound_comment_add (FishSound * fsound, FishSoundComment * comment) in fish_sound_comment_add() 323 fish_sound_comment_add_byname (FishSound * fsound, const char * name, in fish_sound_comment_add_byname() 383 fish_sound_comment_remove_byname (FishSound * fsound, char * name) in fish_sound_comment_remove_byname() 415 fish_sound_comments_init (FishSound * fsound) in fish_sound_comments_init() 424 fish_sound_comments_free (FishSound * fsound) in fish_sound_comments_free() 437 fish_sound_comments_decode (FishSound * fsound, unsigned char * comments, in fish_sound_comments_decode() [all …]
|
H A D | speex.c | 234 fs_speex_free_buffers (FishSound * fsound) in fs_speex_free_buffers() 383 static FishSound * 384 fs_speex_enc_headers (FishSound * fsound) in fs_speex_enc_headers() 591 fs_speex_flush (FishSound * fsound) in fs_speex_flush() 632 fs_speex_reset (FishSound * fsound) in fs_speex_reset() 693 static FishSound * 694 fs_speex_enc_init (FishSound * fsound) in fs_speex_enc_init() 711 static FishSound * 712 fs_speex_init (FishSound * fsound) in fs_speex_init() 741 static FishSound * [all …]
|
H A D | encode.c | 41 fish_sound_set_encoded_callback (FishSound * fsound, in fish_sound_set_encoded_callback() 57 long fish_sound_encode_float (FishSound * fsound, float * pcm[], long frames) in fish_sound_encode_float() 71 long fish_sound_encode_float_ilv (FishSound * fsound, float ** pcm, in fish_sound_encode_float_ilv() 88 fish_sound_encode (FishSound * fsound, float ** pcm, long frames) in fish_sound_encode()
|
/dports/audio/libfishsound/libfishsound-1.0.0/include/fishsound/ |
H A D | fishsound.h | 433 typedef void * FishSound; typedef 465 FishSound * fish_sound_new (int mode, FishSoundInfo * fsinfo); 472 long fish_sound_flush (FishSound * fsound); 483 int fish_sound_reset (FishSound * fsound); 490 int fish_sound_delete (FishSound * fsound); 500 int fish_sound_command (FishSound * fsound, int command, void * data, 510 int fish_sound_get_interleave (FishSound * fsound); 529 long fish_sound_get_frameno (FishSound * fsound); 544 int fish_sound_set_frameno (FishSound * fsound, long frameno); 576 int fish_sound_prepare_truncation (FishSound * fsound, long next_granulepos,
|
H A D | comments.h | 112 fish_sound_comment_get_vendor (FishSound * fsound); 122 fish_sound_comment_first (FishSound * fsound); 132 fish_sound_comment_next (FishSound * fsound, const FishSoundComment * comment); 144 fish_sound_comment_first_byname (FishSound * fsound, char * name); 157 fish_sound_comment_next_byname (FishSound * fsound, 169 fish_sound_comment_add (FishSound * fsound, FishSoundComment * comment); 181 fish_sound_comment_add_byname (FishSound * fsound, const char * name, 194 fish_sound_comment_remove (FishSound * fsound, FishSoundComment * comment); 205 fish_sound_comment_remove_byname (FishSound * fsound, char * name);
|
H A D | decode.h | 57 typedef int (*FishSoundDecoded_Float) (FishSound * fsound, float * pcm[], 73 typedef int (*FishSoundDecoded_FloatIlv) (FishSound * fsound, float ** pcm, 86 int fish_sound_set_decoded_float (FishSound * fsound, 100 int fish_sound_set_decoded_float_ilv (FishSound * fsound, 123 long fish_sound_decode (FishSound * fsound, unsigned char * buf, long bytes);
|
H A D | encode.h | 55 typedef int (*FishSoundEncoded) (FishSound * fsound, unsigned char * buf, 66 int fish_sound_set_encoded_callback (FishSound * fsound, 79 long fish_sound_encode_float (FishSound * fsound, float * pcm[], long frames); 90 long fish_sound_encode_float_ilv (FishSound * fsound, float ** pcm,
|
H A D | deprecated.h | 66 int fish_sound_set_decoded_callback (FishSound * fsound, 89 int fish_sound_set_interleave (FishSound * fsound, int interleave); 101 long fish_sound_encode (FishSound * fsound, float ** pcm, long frames);
|
/dports/audio/libfishsound/libfishsound-1.0.0/doc/libfishsound/latex/ |
H A D | fishsound_8h.tex | 21 typedef void $\ast$ {\bf FishSound} 32 int {\bf fish\_\-sound\_\-reset} ({\bf FishSound} $\ast$fsound) 57 \index{fishsound.h@{fishsound.h}!FishSound@{FishSound}} 58 \index{FishSound@{FishSound}!fishsound.h@{fishsound.h}} 62 An opaque handle to a FishSound. 86 Delete a FishSound object. 114 Query the current frame number of a FishSound object. 137 Query whether a FishSound object is using interleaved PCM. 175 Instantiate a new FishSound$\ast$ handle. 212 Reset the codec state of a FishSound object. [all …]
|
H A D | comments_8h.tex | 15 const char $\ast$ {\bf fish\_\-sound\_\-comment\_\-get\_\-vendor} ({\bf FishSound} $\ast$fsound) 17 const {\bf FishSoundComment} $\ast$ {\bf fish\_\-sound\_\-comment\_\-first} ({\bf FishSound} $\ast$… 25 int {\bf fish\_\-sound\_\-comment\_\-add} ({\bf FishSound} $\ast$fsound, {\bf FishSoundComment} $\a… 29 int {\bf fish\_\-sound\_\-comment\_\-remove} ({\bf FishSound} $\ast$fsound, {\bf FishSoundComment} … 31 int {\bf fish\_\-sound\_\-comment\_\-remove\_\-byname} ({\bf FishSound} $\ast$fsound, char $\ast$na… 68 …und\/} is not a valid FishSound$\ast$ handle \item[{\em FISH\_\-SOUND\_\-ERR\_\-INVALID}]Operation… 85 …und\/} is not a valid FishSound$\ast$ handle \item[{\em FISH\_\-SOUND\_\-ERR\_\-INVALID}]Operation… 97 \item[{\em fsound}]A FishSound$\ast$ handle \end{description} 132 \item[{\em fsound}]A FishSound$\ast$ handle \end{description} 151 \item[{\em fsound}]A FishSound$\ast$ handle \item[{\em comment}]The previous comment. \end{descript… [all …]
|
H A D | decode_8h.tex | 9 typedef int($\ast$ {\bf FishSoundDecoded\_\-Float} )({\bf FishSound} $\ast$fsound, float $\ast$pcm[… 11 typedef int($\ast$ {\bf FishSoundDecoded\_\-FloatIlv} )({\bf FishSound} $\ast$fsound, float $\ast$$… 16 int {\bf fish\_\-sound\_\-set\_\-decoded\_\-float} ({\bf FishSound} $\ast$fsound, {\bf FishSoundDec… 18 int {\bf fish\_\-sound\_\-set\_\-decoded\_\-float\_\-ilv} ({\bf FishSound} $\ast$fsound, {\bf FishS… 20 long {\bf fish\_\-sound\_\-decode} ({\bf FishSound} $\ast$fsound, unsigned char $\ast$buf, long byt… 40 \item[{\em fsound}]The FishSound$\ast$ handle \item[{\em pcm}]The decoded audio \item[{\em frames}]… 57 \item[{\em fsound}]The FishSound$\ast$ handle \item[{\em pcm}]The decoded audio \item[{\em frames}]… 96 \item[{\em fsound}]A FishSound$\ast$ handle (created with mode FISH\_\-SOUND\_\-DECODE) \item[{\em … 101 \item[{\em 0}]Success \item[{\em FISH\_\-SOUND\_\-ERR\_\-BAD}]Not a valid FishSound$\ast$ handle \i… 113 \item[{\em fsound}]A FishSound$\ast$ handle (created with mode FISH\_\-SOUND\_\-DECODE) \item[{\em … [all …]
|
H A D | encode_8h.tex | 9 typedef int($\ast$ {\bf FishSoundEncoded} )({\bf FishSound} $\ast$fsound, unsigned char $\ast$buf, … 14 int {\bf fish\_\-sound\_\-set\_\-encoded\_\-callback} ({\bf FishSound} $\ast$fsound, {\bf FishSound… 16 long {\bf fish\_\-sound\_\-encode\_\-float} ({\bf FishSound} $\ast$fsound, float $\ast$pcm[$\,$], l… 18 long {\bf fish\_\-sound\_\-encode\_\-float\_\-ilv} ({\bf FishSound} $\ast$fsound, float $\ast$$\ast… 30 …rightskip}{0pt plus 5cm}typedef int($\ast$ {\bf FishSoundEncoded})({\bf FishSound} $\ast$fsound, u… 38 \item[{\em fsound}]The FishSound$\ast$ handle \item[{\em buf}]The encoded data \item[{\em bytes}]Th… 50 …th{\rightskip}{0pt plus 5cm}long fish\_\-sound\_\-encode\_\-float ({\bf FishSound} $\ast$ {\em fso… 58 \item[{\em fsound}]A FishSound$\ast$ handle (created with mode FISH\_\-SOUND\_\-ENCODE) \item[{\em … 66 …htskip}{0pt plus 5cm}long fish\_\-sound\_\-encode\_\-float\_\-ilv ({\bf FishSound} $\ast$ {\em fso… 74 \item[{\em fsound}]A FishSound$\ast$ handle (created with mode FISH\_\-SOUND\_\-ENCODE) \item[{\em … [all …]
|
H A D | index.tex | 1 \section{FishSound, the sound of fish!}\label{index_intro} 2 This is the documentation for the FishSound C API. FishSound provides a simple programming interfac… 8 \item \doxyref{fishsound.h }{p.}{fishsound_8h}: Documentation of the FishSound API.\end{itemize} 16 \item \doxyref{Decoding audio data }{p.}{group__decode}: How to decode audio data with FishSound, i… 20 \item \doxyref{Encoding audio data }{p.}{group__encode}: How to encode audio data with FishSound, i…
|
H A D | deprecated_8h.tex | 14 int {\bf fish\_\-sound\_\-set\_\-decoded\_\-callback} ({\bf FishSound} $\ast$fsound, {\bf FishSound… 16 int {\bf fish\_\-sound\_\-set\_\-interleave} ({\bf FishSound} $\ast$fsound, int interleave) 18 long {\bf fish\_\-sound\_\-encode} ({\bf FishSound} $\ast$fsound, float $\ast$$\ast$pcm, long frame… 40 …{\setlength{\rightskip}{0pt plus 5cm}long fish\_\-sound\_\-encode ({\bf FishSound} $\ast$ {\em fso… 48 \item[{\em fsound}]A FishSound$\ast$ handle (created with mode FISH\_\-SOUND\_\-ENCODE) \item[{\em … 56 …kip}{0pt plus 5cm}int fish\_\-sound\_\-set\_\-decoded\_\-callback ({\bf FishSound} $\ast$ {\em fso… 66 \item[{\em fsound}]A FishSound$\ast$ handle (created with mode FISH\_\-SOUND\_\-DECODE) \item[{\em … 72 …h{\rightskip}{0pt plus 5cm}int fish\_\-sound\_\-set\_\-interleave ({\bf FishSound} $\ast$ {\em fso… 77 Set the PCM format used by a FishSound object. The default value is non-interleaved. Prior to libfi… 82 \item[{\em fsound}]A FishSound$\ast$ handle \item[{\em interleave}]Whether to use interleaved PCM o…
|
/dports/audio/libfishsound/libfishsound-1.0.0/src/examples/ |
H A D | fishsound-info.c | 47 read_comments (FishSound * fsound) in read_comments() 66 decoded (FishSound * fsound, float ** pcm, long frames, void * user_data) in decoded() 81 FishSound * fsound = (FishSound *)user_data; in read_packet() 96 FishSound * fsound; in main()
|
H A D | fishsound-decode.c | 70 decoded_float (FishSound * fsound, float ** pcm, long frames, void * user_data) in decoded_float() 87 FishSound * fsound = (FishSound *)user_data; in read_packet() 115 FishSound * fsound; in main()
|
H A D | fishsound-encdec.c | 47 FishSound * encoder; 48 FishSound * decoder; 69 decoded (FishSound * fsound, float ** pcm, long frames, void * user_data) in decoded() 79 encoded (FishSound * fsound, unsigned char * buf, long bytes, void * user_data) in encoded()
|
H A D | fishsound-decenc.c | 47 FishSound * decoder; 48 FishSound * encoder; 76 encoded (FishSound * fsound, unsigned char * buf, long bytes, void * user_data) in encoded() 98 decoded (FishSound * fsound, float ** pcm, long frames, void * user_data) in decoded()
|
/dports/audio/libfishsound/libfishsound-1.0.0/src/tests/ |
H A D | encdec-comments.c | 51 FishSound * encoder; 52 FishSound * decoder; 57 decoded (FishSound * fsound, float ** pcm, long frames, void * user_data) in decoded() 128 encoded (FishSound * fsound, unsigned char * buf, long bytes, void * user_data) in encoded()
|
H A D | encdec-audio.c | 77 FishSound * encoder; 78 FishSound * decoder; 89 decoded_float (FishSound * fsound, float ** pcm, long frames, void * user_data) in decoded_float() 100 decoded_float_ilv (FishSound * fsound, float * pcm[], long frames, in decoded_float_ilv() 112 encoded (FishSound * fsound, unsigned char * buf, long bytes, void * user_data) in encoded()
|