Skip to content

Instantly share code, notes, and snippets.

@rdp
Created August 3, 2012 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdp/3251499 to your computer and use it in GitHub Desktop.
Save rdp/3251499 to your computer and use it in GitHub Desktop.
how to add audio devices using Acquisition.dll
require 'ffi'
module Go
extend FFI::Library
ffi_lib 'Acquisition'
attach_function :DoToneSourceFilterDevicePropertySheetModal , [], :void
end
Go.DoToneSourceFilterDevicePropertySheetModal
@rdp
Copy link
Author

rdp commented Aug 3, 2012

run using (ruby or jruby) like
C:>set PATH=%PATH%;.
C:>jruby acq.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment