opus: pre-skip and output gain are little endian, remove reminder note
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 24 Nov 2011 13:38:59 +0000 (13:38 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 24 Nov 2011 13:40:34 +0000 (13:40 +0000)
ext/opus/gstopusheader.c

index 0379c90..1aa3b0d 100644 (file)
@@ -39,9 +39,9 @@ gst_opus_enc_create_id_buffer (gint nchannels, gint sample_rate,
   gst_byte_writer_put_data (&bw, (const guint8 *) "OpusHead", 8);
   gst_byte_writer_put_uint8 (&bw, 0);   /* version number */
   gst_byte_writer_put_uint8 (&bw, nchannels);
-  gst_byte_writer_put_uint16_le (&bw, 0);       /* pre-skip *//* TODO: endianness ? */
+  gst_byte_writer_put_uint16_le (&bw, 0);       /* pre-skip */
   gst_byte_writer_put_uint32_le (&bw, sample_rate);
-  gst_byte_writer_put_uint16_le (&bw, 0);       /* output gain *//* TODO: endianness ? */
+  gst_byte_writer_put_uint16_le (&bw, 0);       /* output gain */
   gst_byte_writer_put_uint8 (&bw, channel_mapping_family);
   if (channel_mapping_family > 0) {
     gst_byte_writer_put_uint8 (&bw, (nchannels + 1) / 2);