Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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? |
||||
|
No, you can also individually control the volume of every playing sound, use the ISound interface for that. |
||||
|
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. |
||||
|
Yes, drop() is necessary there then. |
||||
|
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 |
||||
|
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 :) |
|