dmrschmidt / DSWaveformImage

Generate waveform images from audio files on iOS, macOS & visionOS in Swift. Native SwiftUI & UIKit views.
MIT License
978 stars 109 forks source link

Wavegeneration stopped when scroll tableview #63

Closed HardikTecocraft closed 1 year ago

dmrschmidt commented 1 year ago

Saw you closed this. Did you find the issue? My suspicion would've been that this could be solved by changing the DispatchQoS.QoSClass, which defaults to .userInitiated in the lib. But it might not be exposed for your use case.

HardikTecocraft commented 1 year ago

Yes, it's solved by using below method

RunLoop.current.add(Timer, forMode: .common)

dmrschmidt commented 1 year ago

thx for sharing 👍