diff options
author | Ilya Konstantinov <ilya.konstantinov@gmail.com> | 2015-03-09 22:51:51 +0200 |
---|---|---|
committer | Arun Raghavan <git@arunraghavan.net> | 2015-03-10 09:14:57 +0530 |
commit | d450b1cac12b02ef83417abee7ee5b1d32de25db (patch) | |
tree | 110799db7faa92286793269dc0b7ff2bc5ba626c | |
parent | 4637b3eb8266efd77ea05f4ce059f0099dcc392c (diff) |
osxaudio: rename gst_core_audio_set_channels_layout()
to gst_core_audio_get_channel_layout().
-rw-r--r-- | sys/osxaudio/gstosxcoreaudiocommon.c | 2 | ||||
-rw-r--r-- | sys/osxaudio/gstosxcoreaudiocommon.h | 2 | ||||
-rw-r--r-- | sys/osxaudio/gstosxcoreaudiohal.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/osxaudio/gstosxcoreaudiocommon.c b/sys/osxaudio/gstosxcoreaudiocommon.c index 448443141..0b9e892fe 100644 --- a/sys/osxaudio/gstosxcoreaudiocommon.c +++ b/sys/osxaudio/gstosxcoreaudiocommon.c @@ -214,7 +214,7 @@ audiounit_error: } gboolean -gst_core_audio_set_channels_layout (GstCoreAudio * core_audio, +gst_core_audio_set_channel_layout (GstCoreAudio * core_audio, gint channels, GstCaps * caps) { /* Configure the output stream and allocate ringbuffer memory */ diff --git a/sys/osxaudio/gstosxcoreaudiocommon.h b/sys/osxaudio/gstosxcoreaudiocommon.h index 228a1646f..8e7936ac3 100644 --- a/sys/osxaudio/gstosxcoreaudiocommon.h +++ b/sys/osxaudio/gstosxcoreaudiocommon.h @@ -47,7 +47,7 @@ void buffer_list_free (AudioBufferList * lis gboolean gst_core_audio_set_format (GstCoreAudio * core_audio, 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); gboolean gst_core_audio_open_device (GstCoreAudio *core_audio, diff --git a/sys/osxaudio/gstosxcoreaudiohal.c b/sys/osxaudio/gstosxcoreaudiohal.c index 925355ac5..f1ebdf5d3 100644 --- a/sys/osxaudio/gstosxcoreaudiohal.c +++ b/sys/osxaudio/gstosxcoreaudiohal.c @@ -1135,7 +1135,7 @@ gst_core_audio_initialize_impl (GstCoreAudio * core_audio, if (!gst_core_audio_set_format (core_audio, format)) goto done; - if (!gst_core_audio_set_channels_layout (core_audio, + if (!gst_core_audio_set_channel_layout (core_audio, format.mChannelsPerFrame, caps)) goto done; |