osxaudio: Move device selection to ringbuffer->open_device()
authorArun Raghavan <git@arunraghavan.net>
Fri, 28 Nov 2014 09:36:35 +0000 (15:06 +0530)
committerArun Raghavan <git@arunraghavan.net>
Mon, 15 Dec 2014 05:49:51 +0000 (11:19 +0530)
commitb06ae280610dac8eb11de3ac758dfa691bdb210b
tree06d5232df2803aa9696f11f0517daf86e978a722
parent199461bb2eec8adeeceffba3817e7d533cf55d87
osxaudio: Move device selection to ringbuffer->open_device()

This is conceptually the right thing to do, and allows us to correctly
catch errors in device selection as well, which we could not do while
creating the ringbuffer.

https://bugzilla.gnome.org/show_bug.cgi?id=740987
sys/osxaudio/gstosxaudioringbuffer.c
sys/osxaudio/gstosxaudioringbuffer.h
sys/osxaudio/gstosxaudiosink.c
sys/osxaudio/gstosxaudiosrc.c