mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
osxaudio: rename gst_core_audio_set_channels_layout()
to gst_core_audio_get_channel_layout().
This commit is contained in:
parent
4637b3eb82
commit
d450b1cac1
3 changed files with 3 additions and 3 deletions
|
@ -214,7 +214,7 @@ audiounit_error:
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gst_core_audio_set_channels_layout (GstCoreAudio * core_audio,
|
gst_core_audio_set_channel_layout (GstCoreAudio * core_audio,
|
||||||
gint channels, GstCaps * caps)
|
gint channels, GstCaps * caps)
|
||||||
{
|
{
|
||||||
/* Configure the output stream and allocate ringbuffer memory */
|
/* Configure the output stream and allocate ringbuffer memory */
|
||||||
|
|
|
@ -47,7 +47,7 @@ void buffer_list_free (AudioBufferList * lis
|
||||||
gboolean gst_core_audio_set_format (GstCoreAudio * core_audio,
|
gboolean gst_core_audio_set_format (GstCoreAudio * core_audio,
|
||||||
AudioStreamBasicDescription format);
|
AudioStreamBasicDescription format);
|
||||||
|
|
||||||
gboolean gst_core_audio_set_channels_layout (GstCoreAudio * core_audio,
|
gboolean gst_core_audio_set_channel_layout (GstCoreAudio * core_audio,
|
||||||
gint channels, GstCaps * caps);
|
gint channels, GstCaps * caps);
|
||||||
|
|
||||||
gboolean gst_core_audio_open_device (GstCoreAudio *core_audio,
|
gboolean gst_core_audio_open_device (GstCoreAudio *core_audio,
|
||||||
|
|
|
@ -1135,7 +1135,7 @@ gst_core_audio_initialize_impl (GstCoreAudio * core_audio,
|
||||||
if (!gst_core_audio_set_format (core_audio, format))
|
if (!gst_core_audio_set_format (core_audio, format))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
if (!gst_core_audio_set_channels_layout (core_audio,
|
if (!gst_core_audio_set_channel_layout (core_audio,
|
||||||
format.mChannelsPerFrame, caps))
|
format.mChannelsPerFrame, caps))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue