search for: data_format

Displaying 6 results from an estimated 6 matches for "data_format".

2007 Apr 08
0
libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c
...erNewFunc swfdec_audio_decoder_ffmpeg_new; #endif +#ifdef HAVE_FFMPEG +extern SwfdecAudioDecoderNewFunc swfdec_audio_decoder_gst_new; +#endif + /*** PUBLIC API ***/ /** @@ -137,6 +141,7 @@ swfdec_audio_decoder_new (SwfdecAudioFor ret = swfdec_audio_decoder_uncompressed_new (format, width, data_format); if (ret == NULL) ret = swfdec_audio_decoder_adpcm_new (format, width, data_format); +#if 0 #ifdef HAVE_MAD if (ret == NULL) ret = swfdec_audio_decoder_mad_new (format, width, data_format); @@ -145,12 +150,11 @@ swfdec_audio_decoder_new (SwfdecAudioFor if (ret == NULL) ret...
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...oFormat to decode + * + * Creates a decoder suitable for decoding @format. If no decoder is available + * for the given for mat, %NULL is returned. + * + * Returns: a new decoder or %NULL + **/ +SwfdecAudioDecoder * +swfdec_audio_decoder_new (SwfdecAudioFormat format, gboolean width, SwfdecAudioOut data_format) +{ + SwfdecAudioDecoder *ret; + + ret = swfdec_audio_decoder_uncompressed_new (format, width, data_format); + if (ret == NULL) + ret = swfdec_audio_decoder_adpcm_new (format, width, data_format); +#ifdef HAVE_MAD + if (ret == NULL) + ret = swfdec_audio_decoder_mad_new (format, width, dat...
2007 May 16
1
Rails, Mongrel and Rmagick
i have a rails app with a form that allows uploading an image file. I take the image file and read it into rmagick to verify that it''s an image. For some reason I can''t catch an exception thrown by rmagick inside the app. After an invalid image file is uploaded the process just hangs. I have to kill mongrel and restart to use the app again. img =
2005 Nov 10
5
OggPCM proposal feedback
...e codec wants to figure out if it supports the current file it can do: if (format != OGG_PCM_S16 && format != OGG_PCM_FLOAT32) ooops_we_dont_handle_this ("some error message"); This is far less error prone than: if (! (bitwdith == 16 && signed && data_format == OGG_PCM_PCM) || ! (bitwdith == 32 && data_format == OGG_PCM_FLOAT)) ooops_we_dont_handle_this ("some error message"); > in fact, many will require a very small set of parameters going in, My propsal has a small number of parameters; one. I don't think...
2005 Nov 09
8
OggPCM proposal feedback
Hi all, Siliva contacted me about this OggPCM proposal and asked me to join in. For those who don't know me, I am the main author and maintainer of libsndfile and therefore know quite a bit about how uncompressed audio is stored in sound files. However even I would not consider myself an expert; there are areas to do with channel assignments that I know I am ignorant of. I am also quite
2010 Dec 01
3
Error While installing Wine on OSX version 10.4.1.1!!
...It.rc Ja.rc Ko.rc Lt.rc Nl.rc No.rc Pl.rc Pt.rc Ro.rc Ru.rc Si.rc Sr.rc Sv.rc Uk.rc devenum.rc > :info:build config.status: creating dlls/dinput/Makefile > :info:build config.status: creating dlls/dinput/tests/Makefile > :info:build ../../tools/makedep -C. -S../.. -T../.. data_formats.c device.c dinput_main.c effect_linuxinput.c joystick.c joystick_linux.c joystick_linuxinput.c joystick_osx.c keyboard.c mouse.c regsvr.c version.rc > :info:build ../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../.. device.c joystick.c keyboard.c mouse.c...