osxaudio: Fix error handling when selecting/opening devices
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 14 Jan 2016 22:26:49 +0000 (03:56 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 14 Jan 2016 22:32:09 +0000 (22:32 +0000)
commit6b760ead2af88aed91d128c2874ebcd556590084
treed66602e91e68939de78d6582eab8532ce4085829
parent53c797d6046c131f751c69fe83e9fe65d8e0da95
osxaudio: Fix error handling when selecting/opening devices

Post an element error when the CoreAudio device cannot be selected or opened.
Also ensure that we post a GST_ERROR with more detail.
sys/osxaudio/gstosxaudioringbuffer.c
sys/osxaudio/gstosxcoreaudiohal.c