osxaudio: rename gst_core_audio_set_channels_layout()

to gst_core_audio_get_channel_layout().
This commit is contained in:
Ilya Konstantinov 2015-03-09 22:51:51 +02:00 committed by Arun Raghavan
parent 4637b3eb82
commit d450b1cac1
3 changed files with 3 additions and 3 deletions

View file

@ -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 */

View file

@ -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,

View file

@ -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;