{"action":"created","issue":{"url":"https://api.github.com/repos/camlorn/libaudioverse/issues/22","repository_url":"https://api.github.com/repos/camlorn/libaudioverse","labels_url":"https://api.github.com/repos/camlorn/libaudioverse/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/camlorn/libaudioverse/issues/22/comments","events_url":"https://api.github.com/repos/camlorn/libaudioverse/issues/22/events","html_url":"https://github.com/camlorn/libaudioverse/issues/22","id":143354471,"number":22,"title":"output device remains fixed when switching audio devices even when output device is set to -1","user":{"login":"chrisnorman7","id":4410601,"avatar_url":"https://avatars.githubusercontent.com/u/4410601?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisnorman7","html_url":"https://github.com/chrisnorman7","followers_url":"https://api.github.com/users/chrisnorman7/followers","following_url":"https://api.github.com/users/chrisnorman7/following{/other_user}","gists_url":"https://api.github.com/users/chrisnorman7/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisnorman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisnorman7/subscriptions","organizations_url":"https://api.github.com/users/chrisnorman7/orgs","repos_url":"https://api.github.com/users/chrisnorman7/repos","events_url":"https://api.github.com/users/chrisnorman7/events{/privacy}","received_events_url":"https://api.github.com/users/chrisnorman7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-24T20:44:43Z","updated_at":"2016-03-25T12:24:58Z","closed_at":null,"body":"So I create a simulation, and set it's output with:\r\nsimulation.set_output_device(-1)\r\n\r\nIf I then change sound devices within windows the audio from LAV still comes out of the output device which was in use when the simulation was created.\r\n\r\nNot sure if this is LAV's fault or windows. I know other sound libraries switch when set to output through the default output device.\r\n\r\nCheers."},"comment":{"url":"https://api.github.com/repos/camlorn/libaudioverse/issues/comments/201261393","html_url":"https://github.com/camlorn/libaudioverse/issues/22#issuecomment-201261393","issue_url":"https://api.github.com/repos/camlorn/libaudioverse/issues/22","id":201261393,"user":{"login":"chrisnorman7","id":4410601,"avatar_url":"https://avatars.githubusercontent.com/u/4410601?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisnorman7","html_url":"https://github.com/chrisnorman7","followers_url":"https://api.github.com/users/chrisnorman7/followers","following_url":"https://api.github.com/users/chrisnorman7/following{/other_user}","gists_url":"https://api.github.com/users/chrisnorman7/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisnorman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisnorman7/subscriptions","organizations_url":"https://api.github.com/users/chrisnorman7/orgs","repos_url":"https://api.github.com/users/chrisnorman7/repos","events_url":"https://api.github.com/users/chrisnorman7/events{/privacy}","received_events_url":"https://api.github.com/users/chrisnorman7/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T12:24:58Z","updated_at":"2016-03-25T12:24:58Z","body":"No worries. Thanks for getting back to me.\n\n\nOn 24/03/2016 21:02, Austin Hicks wrote:\n> This is a known limitation of the Wasapi backend in audio_io. The\n> guarantee is \"if possible\". It's possible in this case, but I haven't\n> implemented it. I deployed the Wasapi backend anyway because it really\n> decreased latency. Unfortunately, actually doing this is tricky with\n> that API and it'll probably be part of the audio_io redesign.\n>\n> On 3/24/2016 16:44, Chris Norman wrote:\n> >\n> > So I create a simulation, and set it's output with:\n> > simulation.set_output_device(-1)\n> >\n> > If I then change sound devices within windows the audio from LAV still\n> > comes out of the output device which was in use when the simulation\n> > was created.\n> >\n> > Not sure if this is LAV's fault or windows. I know other sound\n> > libraries switch when set to output through the default output device.\n> >\n> > Cheers.\n> >\n> > —\n> > You are receiving this because you are subscribed to this thread.\n> > Reply to this email directly or view it on GitHub\n> > <https://github.com/camlorn/libaudioverse/issues/22>\n> >\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub \n> <https://github.com/camlorn/libaudioverse/issues/22#issuecomment-201019754>\n>\n\n"}}