You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JAudioLibs
Hi,
Sorry for the noob-ish question, but it's not clear to me from the API examples how you can select and set the audio device(s) you want to use. I'm following the PassThroughAudioClient and DeviceIteration examples. It's easy to query the available devices like in the example, but how do I set the input/output devices based on that list?
Thanks.
Neil C Smith
unread,
Mar 16, 2018, 7:10:15 PM3/16/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Sorry for the noob-ish question, but it's not clear to me from the API examples how you can select and set the audio device(s) you want to use. I'm following the PassThroughAudioClient and DeviceIteration examples.
No problem, and sorry for how badly documented that feature is! You need to add the device(s) where you see the ClientID and Connection parameters (extensions comment) in the AudioConfiguration constructor.
Note there might be two devices if you need input - Windows has a separate device for input and output for some bizarre reason.
Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
Raph
unread,
Mar 17, 2018, 1:04:03 PM3/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JAudioLibs
Hi Neil,
Awesome! I was adapting the PassThroughAudioClient example to query and set alternative devices. As you said, I simply had to pass in the output and input devices to the AudioConfiguration constructor extensions parameter, and it works like a charm! Thanks!