<div dir="auto">Thanks James for the response, that was my guess. </div><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 4, 2018, 3:28 AM James Turner <<a href="mailto:zakalawe@mac.com">zakalawe@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><br><div><br><blockquote type="cite"><div>On 3 Apr 2018, at 23:42, Cyril Drouet <<a href="mailto:cyril.drouet@gmail.com" target="_blank" rel="noreferrer">cyril.drouet@gmail.com</a>> wrote:</div><br class="m_-7314250260852963722Apple-interchange-newline"><div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;font-family:Calibri,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"><font face="Calibri,Helvetica,sans-serif">I have used OpenAL Soft on Windows and Linux for a few years already but this is the first time I'm using it on Mac OS X. I'm trying to open a specific output device but things seem to work a bit differently on this platform. When I list the devices, I only get "CoreAudio Default". It seems that it will always use the default device the user selected in his preferences and switch device automatically if the user selects a different device (or if the device is disconnected). </font></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;font-family:Calibri,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"><font face="Calibri,Helvetica,sans-serif"><br></font></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;font-family:Calibri,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"><font face="Calibri,Helvetica,sans-serif">Is there a way for OpenAL to use a specific device? I can list the available audio devices using the CoreAudio API, but I don't see a way to use that with OpenAL.</font></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;font-family:Calibri,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"><font face="Calibri,Helvetica,sans-serif"><br></font></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;font-family:Calibri,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"><font face="Calibri,Helvetica,sans-serif">If there isn't a way with OpenAL, does anyone have a solution to do that through CoreAudio? I'm not very familiar with CoreAudio but it seems that I would need to get the AudioUnit used by OpenAL in order to change which audio device to use. It that even possible?</font></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;font-family:Calibri,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"><font face="Calibri,Helvetica,sans-serif"> </font></div></div></blockquote></div><br><div>This needs some extension to OpenAL code on Mac. I would also really like it for FlightGear, and I know sufficient CoreAudio to say, the work is not very difficult, but I didn’t find a spare weekend so far to contribute a patch. But I think it’s only a few hours work, the CoreAudio API is not so complex.</div><div><br></div><div>I would really recommend fixing this in the OpenAL code BTW, manipulating audio-units directly gets more complex fast, is my limited experience. (CoreAudio API is application facing, AudioUnits API is meant for people writing new filters and plugins)</div><div><br></div><div>Kind regards,</div><div>James</div><div><br></div></div>_______________________________________________<br>
openal mailing list<br>
<a href="mailto:openal@openal.org" target="_blank" rel="noreferrer">openal@openal.org</a><br>
<a href="http://openal.org/mailman/listinfo/openal" rel="noreferrer noreferrer" target="_blank">http://openal.org/mailman/listinfo/openal</a></blockquote></div>