≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Change Audio Output Device
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b][/b] wrote: hi there, may i ask 1, 2 or 3 beginner-question? I use the irrKlang.NET4.dll from irrKlang-64bit-1.6.0 with VS2012 oin Windows 10. I like to build a C-Windows-Form as a stand alone "exe" file. This file shall have a button that play a sound (selectable from a folder). Output this mp3-file to a select-able output (i read the demofile, but it does not work here). So i add a combobox1 and copy&past ur code there. if i run the project and click the box, it is empty. My code for c: ( i need to add a "var" in front of "sdl" because otherwise i got a error, like "name is not in actual context" ( or something like this) [code] private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { //Get the list of installed sound devices. var sdl = new IrrKlang.ISoundDeviceList(IrrKlang.SoundDeviceListType.PlaybackDevice); //Add each device to a combo box. for (int i = 0; i < sdl.DeviceCount; i++) { comboBox1.Items.Add(sdl.getDeviceDescription(i) + "\n"); } }[/code] the drop-down stays empty. --- 2nd: how do i tell the Play2d-Engine what output to use? --- 3rd: if i press the button tp play the mp3file, i get a error in the program: BadImageFormatException (wrong format was try to load) In the Projectpropertiypage i selected x86 as targetplatform, but in the top is "active (any cpu)" - and i cant change this. how to get rid of this and the warning about a konflic between architecture x86 and AMD64 of IrrKlang.net4 (all german, difficult to translate this errormessages and warnigs.) -- Thank You. If i ask to much or on the wrong forum, please move this to the right target.[/quote]
Possible 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
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact