AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4 matches
AutoHotkey Community Forum Index
Author Message
  Topic: switch between headphones <-> speakers
Vrokolos

Replies: 17
Views: 813

PostForum: Utilities & Resources   Posted: Thu Apr 03, 2008 5:12 am   Subject: switch between headphones <-> speakers
Yes I know.. that's whay I'm looking at:
IDirectsound.SetSpeakerConfig
  Topic: switch between headphones <-> speakers
Vrokolos

Replies: 17
Views: 813

PostForum: Utilities & Resources   Posted: Wed Apr 02, 2008 5:51 pm   Subject: switch between headphones <-> speakers
Oops sorry didn't see that before. Well then it should be possible.. Let me try to create a script for it in the next few days. I'll report back Smile
  Topic: switch between headphones <-> speakers
Vrokolos

Replies: 17
Views: 813

PostForum: Utilities & Resources   Posted: Wed Apr 02, 2008 5:43 pm   Subject: switch between headphones <-> speakers
I'm pretty sure autohotkey can't make calls to managed dll assemblies using complex types as parameters. What you might want to do is research on how to do what I did using plain old directsound dlls ...
  Topic: switch between headphones <-> speakers
Vrokolos

Replies: 17
Views: 813

PostForum: Utilities & Resources   Posted: Wed Apr 02, 2008 5:19 pm   Subject: switch between headphones <-> speakers
Can you create a complex object in AHK? This can't be done with just basic types like strings and ints. You need to create objects for devices and speakers and pass those objects to directsound.
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group