search for: newbuff

Displaying 5 results from an estimated 5 matches for "newbuff".

Did you mean: newbuf
2004 Aug 06
7
question on downsampling
Hi, Maybe a bit off topic for this list, bt anyway. I have received several feature requests for DarkIce to support downsampling of the audio input before passing it to lame or ogg vorbis. For example the audio read from the soundcard would be 44.1kHz, and lame would get it at 22.05kHz. I figure two ways of doing this: 1. For lame, one can specify the input and the desired mp3 sampling rate,
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
...ength) { SwfdecBuffer *subbuffer; @@ -368,7 +368,7 @@ swfdec_buffer_queue_pull_buffer (SwfdecB } SwfdecBuffer * -swfdec_buffer_queue_pull (SwfdecBufferQueue * queue, unsigned int length) +swfdec_buffer_queue_pull (SwfdecBufferQueue * queue, guint length) { GList *g; SwfdecBuffer *newbuffer; @@ -398,7 +398,7 @@ swfdec_buffer_queue_pull (SwfdecBufferQu queue->buffers = g_list_remove (queue->buffers, buffer); newbuffer = buffer; } else { - unsigned int offset = 0; + guint offset = 0; newbuffer = swfdec_buffer_new_and_alloc (length); @@ -407,7 +407,7 @...
2018 Jun 28
2
XRay feature – pid reporting
I'm still somewhat unclear about what you mean by "metadata record entry at the beginning of the block". I understand that I can make a MetadataRecord that contains the pid/tid since a metadata record contains 16 bytes. However, I don't understand what do you mean by the "beginning of the block". Do you mean right after the file header? My understanding is that at
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...ength) { SwfdecBuffer *subbuffer; @@ -368,7 +368,7 @@ swfdec_buffer_queue_pull_buffer (SwfdecB } SwfdecBuffer * -swfdec_buffer_queue_pull (SwfdecBufferQueue * queue, unsigned int length) +swfdec_buffer_queue_pull (SwfdecBufferQueue * queue, guint length) { GList *g; SwfdecBuffer *newbuffer; @@ -398,7 +398,7 @@ swfdec_buffer_queue_pull (SwfdecBufferQu queue->buffers = g_list_remove (queue->buffers, buffer); newbuffer = buffer; } else { - unsigned int offset = 0; + guint offset = 0; newbuffer = swfdec_buffer_new_and_alloc (length); @@ -407,7 +407,7 @...
2007 Mar 29
0
Branch 'as' - 9 commits - configure.ac doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_stack.c
...ueue_free (SwfdecBufferQueue * queue) -{ - swfdec_buffer_queue_clear (queue); - g_free (queue); -} - -void swfdec_buffer_queue_push (SwfdecBufferQueue * queue, SwfdecBuffer * buffer) { g_return_if_fail (queue != NULL); @@ -443,3 +480,43 @@ swfdec_buffer_queue_peek (SwfdecBufferQu return newbuffer; } + +/** + * swfdec_buffer_queue_ref: + * @queue: a #SwfdecBufferQueue + * + * increases the reference count of @queue by one. + * + * Returns: The passed in @queue. + **/ +SwfdecBufferQueue * +swfdec_buffer_queue_ref (SwfdecBufferQueue * queue) +{ + g_return_val_if_fail (queue != NULL, NULL);...