Tim111888 Posted March 5, 2016 Share Posted March 5, 2016 Hello Guys, need your help. I want to play short warning-sounds to a specific not default device. Unfortunately SoundPlay() outputs sound to default device only. I imagine it could be possible to specify output devices via bass.dll functions or some other dll calls. I just need an example. --------------------------------- example: example_SoundPlay("example.mp3", "output = virtual cable line 1") --------------------------------- Thank You Link to comment Share on other sites More sharing options...
EmilyLove Posted March 5, 2016 Share Posted March 5, 2016 Would changing the Default Device before using SoundPlay() be out of the question? I use NirCMD to change the default device all the time because I use multiple headsets on my pc. You could always change the default device back after the sound is played. Unfortunately I do not know how to play audio on non-default devices. Xandy 1 Link to comment Share on other sites More sharing options...
Tim111888 Posted March 5, 2016 Author Share Posted March 5, 2016 Yo Guys, I have found a solution. DirectSound UDF by eukalyptus. EZ PZ EmilyLove 1 Link to comment Share on other sites More sharing options...
EmilyLove Posted March 6, 2016 Share Posted March 6, 2016 (edited) Fantastic. I'll be looking into this myself. Thanks for letting me know! DirectSound UDF Edited March 6, 2016 by BetaLeaf Added link to UDF Link to comment Share on other sites More sharing options...
Seminko Posted May 8, 2017 Share Posted May 8, 2017 On 5. 3. 2016 at 9:56 PM, Tim111888 said: Yo Guys, I have found a solution. DirectSound UDF by eukalyptus. EZ PZ Care to ellaborate? Link to comment Share on other sites More sharing options...
Developers Jos Posted May 8, 2017 Developers Share Posted May 8, 2017 16 minutes ago, Seminko said: Care to ellaborate? don't hold your breath. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Seminko Posted May 8, 2017 Share Posted May 8, 2017 42 minutes ago, Jos said: don't hold your breath. I don't, but it's worth a try. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now