mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
alsasink: make gst-ident happy
This commit is contained in:
parent
3b2d583373
commit
b444d8ba97
1 changed files with 2 additions and 1 deletions
|
@ -910,7 +910,8 @@ gst_alsasink_prepare (GstAudioSink * asink, GstAudioRingBufferSpec * spec)
|
||||||
if (chmap && chmap->channels == alsa->channels) {
|
if (chmap && chmap->channels == alsa->channels) {
|
||||||
GstAudioChannelPosition pos[8];
|
GstAudioChannelPosition pos[8];
|
||||||
if (alsa_chmap_to_channel_positions (chmap, pos))
|
if (alsa_chmap_to_channel_positions (chmap, pos))
|
||||||
gst_audio_ring_buffer_set_channel_positions (GST_AUDIO_BASE_SINK (alsa)->ringbuffer, pos);
|
gst_audio_ring_buffer_set_channel_positions (GST_AUDIO_BASE_SINK
|
||||||
|
(alsa)->ringbuffer, pos);
|
||||||
}
|
}
|
||||||
free (chmap);
|
free (chmap);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue