volume setting failed before play music
hament opened this issue · 1 comments
hament commented
I alloc a instance and set the volume while app launch :
self.player = [[ORGMEngine alloc] init];
[self.player setVolume:1.0f];
self.player.volume=34.0f;
However the volume is always 100% before playing music file .
After playing a music file the volume can be set successful.
My developer environment : os x 10.10 & Rmbp 15 inch
hament commented
oh ,sorry i paste the wrong code ~~
the code is
self.player = [[ORGMEngine alloc] init];
[self.player setVolume:0.0f];