AFAIR there was a way to "list" existing output devices, so your app could select the proper one?