Commit 333d568e authored by Arun Raghavan's avatar Arun Raghavan
Browse files

directsoundsink: Specify endianness in IEC 61937 payloading

DirectSound expects native endian byte order.
parent f46475ee
......@@ -807,7 +807,7 @@ gst_directsound_sink_payload (GstAudioBaseSink * sink, GstBuffer * buf)
return NULL;
success = gst_audio_iec61937_payload (, infobuf.size,, infoout.size, &sink->ringbuffer->spec);, infoout.size, &sink->ringbuffer->spec, G_BYTE_ORDER);
if (!success) {
gst_buffer_unmap (out, &infoout);
gst_buffer_unmap (buf, &infobuf);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment