Core Audio: Slight change to audio fade in on seek

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2025-03-08 00:38:00 -08:00
parent 653d143c03
commit 3dbde22f61

View file

@ -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];
} }