Products
Download
Buy
Support
Company
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Name:
Password:
Create reply in
Change Audio Output Device
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: You can do it like this: [code]IrrKlang.ISoundDeviceList list = new IrrKlang.ISoundDeviceList(IrrKlang.SoundDeviceListType.PlaybackDevice); // to print all devices in that list: for (int i=0; i<list.DeviceCount; ++i) list.getDeviceDescription(i); // to use the first device int soundDeviceIndexToUse = 0; // first device IrrKlang.ISoundEngine engine = new IrrKlang.ISoundEngine( IrrKlang.SoundOutputDriver.AutoDetect, IrrKlang.SoundEngineOptionFlag.DefaultOptions, list.getDeviceID(soundDeviceIndexToUse));[/code][/quote]
Forum Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.