ap4y / OrigamiEngine

Lightweight audio engine for iOS and OSX with flac, cue, mp3, m4a, m3u support.
http://ap4y.github.com/OrigamiEngine/
MIT License
545 stars 118 forks source link

volume setting failed before play music #45

Closed hament closed 9 years ago

hament commented 9 years ago

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 9 years ago

oh ,sorry i paste the wrong code ~~ the code is

self.player = [[ORGMEngine alloc] init]; [self.player setVolume:0.0f];