Core Audio: Slight change to audio fade in on seek
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
653d143c03
commit
3dbde22f61
1 changed files with 1 additions and 3 deletions
|
@ -84,9 +84,6 @@
|
||||||
}
|
}
|
||||||
[output setupWithInterval:resumeInterval];
|
[output setupWithInterval:resumeInterval];
|
||||||
[output setVolume:volume];
|
[output setVolume:volume];
|
||||||
if(resumeInterval) {
|
|
||||||
[output fadeIn];
|
|
||||||
}
|
|
||||||
@synchronized(chainQueue) {
|
@synchronized(chainQueue) {
|
||||||
for(id anObject in chainQueue) {
|
for(id anObject in chainQueue) {
|
||||||
[anObject setShouldContinue:NO];
|
[anObject setShouldContinue:NO];
|
||||||
|
@ -126,6 +123,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if(time > 0.0) {
|
if(time > 0.0) {
|
||||||
|
[output fadeIn];
|
||||||
[output seek:time];
|
[output seek:time];
|
||||||
[bufferChain seek:time];
|
[bufferChain seek:time];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue