search for: decoder_t

Displaying 8 results from an estimated 8 matches for "decoder_t".

Did you mean: decoder_
2004 Sep 30
1
[don@donarmstrong.com: Bug#274301: libflac4 segfaults on corrupt flac files]
...e = 0 #6 0x08053774 in EasyFLAC__process_single (decoder=0x805ba30) at ../../ogg123/easyflac.c:356 No locals. #7 0x08052690 in flac_init (source=0x805aa60, ogg123_opts=0x8059d60, audio_fmt=0xbffff3e0, callbacks=0xbffff408, callback_arg=0x407ed008) at ../../ogg123/flac_format.c:181 decoder = (decoder_t *) 0x805b990 private = (flac_private_t *) 0x805b9d0 ret = -1073745000 #8 0x0804fec0 in play (source_string=0x805b8d0 "crash.flac") at ../../ogg123/ogg123.c:464 transport = (transport_t *) 0x80586c0 format = (format_t *) 0x8058820 source = (data_source_t *) 0x805aa60 decoder = (deco...
2002 Oct 05
2
ogg123 remote interface
...nst char *message, ...); + void (* printf_metadata) (void *arg, int verbosity, const char *message, ...); } decoder_callbacks_t; @@ -57,7 +57,7 @@ #define DECODER_SEEK_CUR 2 typedef struct format_t { - char *name; + const char *name; int (* can_decode) (data_source_t *source); decoder_t* (* init) (data_source_t *source, ogg123_options_t *ogg123_opts, diff -urN -X diff.ignore ogg123.orig/oggvorbis_format.c ogg123/oggvorbis_format.c --- ogg123.orig/oggvorbis_format.c Fri Jul 19 12:31:53 2002 +++ ogg123/oggvorbis_format.c Sat Oct 5 14:28:02 2002 @@ -44,9 +44,9 @@ /* Vorbis comm...
2004 Sep 10
0
http streaming in the xmms plugin
...*decoder); + void (*safe_decoder_finish) (void *decoder); + void (*safe_decoder_delete) (void *decoder); + FLAC__bool (*process_until_end_of_metadata) (void *decoder); + FLAC__bool (*process_single) (void *decoder); + FLAC__bool (*is_eof) (void *decoder); + } decoder_funcs_t; + + #define NUM_DECODER_TYPES 2 + typedef enum { + DECODER_FILE, + DECODER_HTTP + } decoder_t; + static void FLAC_XMMS__init(); static int FLAC_XMMS__is_our_file(char *filename); static void FLAC_XMMS__play_file(char *filename); *************** *** 79,90 **** static void FLAC_XMMS__get_song_info(char *filename,...
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...= 0.0; + opts->endpos = 0.0; opts->buffer_size = 128 * 1024; opts->prebuffer = 0.0f; opts->input_buffer_size = 64 * 1024; @@ -250,6 +251,18 @@ print_statistics_action(NULL, pstats_arg); } +double currenttime (stat_format_t *stat_format, + data_source_t *source, + decoder_t *decoder) +{ + print_statistics_arg_t *pstats_arg; + + pstats_arg = new_print_statistics_arg(stat_format, + source->transport->statistics(source), + decoder->format->statistics(decoder)); + + return pstats_arg->decoder_statistics->current_time; +} void print_audio_de...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...void show_version() +void show_version(void) { printf("metaflac %s\n", FLAC__VERSION_STRING); } --- src/plugin_xmms/plugin.c-dist 2005-05-25 16:25:03.000000000 +0200 +++ src/plugin_xmms/plugin.c 2005-05-25 16:25:34.000000000 +0200 @@ -109,14 +109,14 @@ typedef enum { DECODER_HTTP } decoder_t; -static void FLAC_XMMS__init(); +static void FLAC_XMMS__init(void); static int FLAC_XMMS__is_our_file(char *filename); static void FLAC_XMMS__play_file(char *filename); -static void FLAC_XMMS__stop(); +static void FLAC_XMMS__stop(void); static void FLAC_XMMS__pause(short p); static void FLA...
2004 Nov 30
2
Bug in ogg123 playback of OggFLAC files?
[I'm not online regularly, so don't include me in any replies. And I'm not sure if the vorbis or the flac list, or something else, is more suitable for the following, so bear with me] Moin, moin. I used a recent ogg123 to play back a FLAC file I had created, and saw it wasn't able to seek within the file. So, I thought to myself, why not try out an OggFLAC file, so I created
2004 Nov 30
2
Bug in ogg123 playback of OggFLAC files?
[I'm not online regularly, so don't include me in any replies. And I'm not sure if the vorbis or the flac list, or something else, is more suitable for the following, so bear with me] Moin, moin. I used a recent ogg123 to play back a FLAC file I had created, and saw it wasn't able to seek within the file. So, I thought to myself, why not try out an OggFLAC file, so I created
2004 May 23
4
Various Ogg Vorbis largefile notes and/or patches
Greetings one and all; I'm not subscribed to this list so I'm first sending this message to verify that mails from me make it through, and then later I'll send the juicy messages with patches. Also, the address I'm using is IPv6-only and doesn't often work, so drop me from any replies and I'll catch the archives, or drop only the hostname part to get an IPv4 address that