 guppy Guest |
Quote
|
2020-07-27 02:45:10 |
|
Is it possible to create separate sound streams?
If so, how would i do that in C net?
|
 guppy Guest |
Quote
|
2020-07-27 02:45:57 |
|
c .net.
|
 niko Moderator |
Quote
|
2020-07-27 07:23:30 |
|
Sure, if you want to play 2 streams at the same time, just call
engine.play2D("file_one.mp3"); engine.play2D("file_two.mp3");
|
 guppy Guest |
Quote
|
2020-07-27 07:28:16 |
|
But what if want each steam to have its own separate volume.
|
 niko Moderator |
Quote
|
2020-07-27 07:53:15 |
|
If you set the "track" or "loop" parameter to "true", you get back an ISound object from play2D. You can use its "Volume" property. Like this:
ISound s = engine.Play2D("music.mp3"); s.Volume = 0.5;
|