Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
music volume

bkjcr
Guest
Quote
2013-11-28 09:07:30

hi
i am not speak english very well .
i am sorry

my question
- only stream sound(ogg,mp3) volume adjust

engine->setSoundVolume() is master volume( ogg,mp3, wav )

i hope music volume.
can i stream sound volume only?


niko
Moderator
Quote
2013-11-29 07:38:09

No, you can also individually control the volume of every playing sound, use the ISound interface for that.


bkjcr
Guest
Quote
2013-11-29 12:14:29

hi.

i am not want manage sound ist!

isound s = engine->play2d()
s->setvolume()

and must call to drop() ?

if i must call to drop(), i must manage sound list.


niko
Moderator
Quote
2013-12-01 21:52:52

Yes, drop() is necessary there then.


.
Guest
Quote
2013-12-02 07:55:46

hi

because stream sound volume,
make all sound list and set volume and check update and
drop
is that alright??
is that nessary?

i am not want sound manage.
not only volume, i need not manage sound list

setsoundvolume - all sound( mp3,ogg, wav. etc...) (en bloc)
set_stream_volume - only mp3,ogg. etc stream (en bloc)
set_sound_volume - wav (en bloc)

can you add fucntion?

its really nessary.
either, please suggest me any other effiient solution


niko
Moderator
Quote
2013-12-03 05:32:47

If you want to control the volume of specific playing sounds separately, then yes, you somehow need to store a pointer to it to be able to modify it when you want to. :)
So yes, that's right and nessesary. But I'm not sure why you don't want to do it like that (manage sounds as you write), since the code for this would probably be much shorter than the post you just wrote into this forum :)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

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