Displaying 1 result from an estimated 1 matches for "org_data".
Did you mean:
orig_data
2007 Oct 11
0
12 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_frame.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_shape_parser.c libswfdec/swfdec_sound.c test/sound
...mpares the 2 buffers for every 5.5kHz and complains with a useful
+ * error message if they don't match.
+ *
+ * Returns: TRUE if the 2 files are equal
+ **/
static gboolean
audio_diff (SwfdecBuffer *compare, SwfdecBuffer *original, const char *filename)
{
- guint i;
- gint16 *comp_data, *org_data;
+ guint i, length;
+ gint16 *comp_data, *comp_end, *org_data;
/* must hold since we are rendering it */
- g_assert (compare->length % 2 == 0);
- if (original->length % 2 != 0) {
+ g_assert (compare->length % 4 == 0);
+ if (original->length % 4 != 0) {
g_print ("...