Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
i use IrrKlang at first to program a musicplayer. everything is fine .. i have 2 players inside the program, set volume is also okay. but i am absolutely confused how to use a function from ISound. i wanna use the Playbackspeed function. so i have use a trackbar to regulate the speed .. but :
at first i am confused , why this feature is not implemented in the normal ISoundengine, because if i have a normal play or set volume control it`s like this :
so i am wondering that there was no "ISoundEngine.speedcontrol" - function. In your Documentation to use ISound is the following :
|
||||
|
You only get an ISound object when calling one of the play() functions in ISoundEngine. You cannot create an ISound using new(). |
||||
|
the problem is as follows :
if i choose another variable for the second function , maybe " music2" i have absolutely bad sounds with failures all around. On the other side it`s not possible for me that music1 is available in each function, Like a "global Variable" If i wanna use more than one function from ISound i have that Problem :( |
||||
|
have fixed everything *juchhu :) .... if someone wanna have the solution ... i would post it |
||||
|
I tried to use a different ISound object to play the second file. no fix. Maybe this helps: Die Laufzeit hat einen schwerwiegenden Fehler entdeckt. Fehleradresse: "0x67e6d2c6" in Thread "0x2618". Fehlercode: 0xc0000005. Bei diesem Fehler könnte es sich um ein Problem in der CLR oder in den unsicheren oder nicht verifizierbaren Teilen des Benutzercodes handeln. Übliche Ursachen dieses Bugs sind Marshallerfehler für COM-Interop oder PInvoke, die den Stapel beschädigen können. |
||||
|
what was the problem? |
|