mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
directsoundsink: Specify endianness in IEC 61937 payloading
DirectSound expects native endian byte order. https://bugzilla.gnome.org/show_bug.cgi?id=678021
This commit is contained in:
parent
f46475ee37
commit
333d568ec7
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ gst_directsound_sink_payload (GstAudioBaseSink * sink, GstBuffer * buf)
|
|||
return NULL;
|
||||
}
|
||||
success = gst_audio_iec61937_payload (infobuf.data, infobuf.size,
|
||||
infoout.data, infoout.size, &sink->ringbuffer->spec);
|
||||
infoout.data, infoout.size, &sink->ringbuffer->spec, G_BYTE_ORDER);
|
||||
if (!success) {
|
||||
gst_buffer_unmap (out, &infoout);
|
||||
gst_buffer_unmap (buf, &infobuf);
|
||||
|
|
Loading…
Reference in a new issue