EPISODE · Sep 21, 2025 · 31 MIN
AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own
from AppForce1 Worklog · host Jeroen Leenarts
Send me a textMake sure to let me know what you think of this episode.I completely refactored an audio system for a work app, splitting a single AVAudioEngine into separate engines for recording and playback. This architectural change fixed a bizarre bug where the system volume slider moved unexpectedly during audio operations.• Split AVAudioEngine into separate recording and playback engines• Fixed the MP Volume View movement issue by unifying audio session management• Improved background task management for location tracking services• Removed dead code and deprecated functionality• Explored solutions for audio session conflicts, threading issues, and memory leaks• Implemented dedicated dispatch queues for different audio operations• Created a robust background task management system for location updates• Added extensive logging to better understand audio session lifecyclesLooking ahead to SwiftUI integration, audio performance optimization, and iOS 26 compatibility testing. Do iOS 2025 is happening November 11-13 at NEMO Science Museum in Amsterdam - check out do-ios.com for more information.Support the showDo iOS: https://do-ios.comRate me on Apple Podcasts.Send feedback on SpeakPipeOr contact me:Mastodon: https://hachyderm.io/@appforce1X: https://x.com/appforce1BlueSky: https://bsky.app/profile/appforce1.netLinkedIN: https://www.linkedin.com/in/leenarts/Support my podcast with a monthly subscription, it really helps.My book: Being a Lead Software Developer
Embed this episode
What this episode covers
Send me a text Make sure to let me know what you think of this episode. I completely refactored an audio system for a work app, splitting a single AVAudioEngine into separate engines for recording and playback. This architectural change fixed a bizarre bug where the system volume slider moved unexpectedly during audio operations. • Split AVAudioEngine into separate recording and playback engines • Fixed the MP Volume View movement issue by unifying audio session management • Improved backgr...
Ready to play
AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own
No transcript for this episode yet
Similar Episodes
No similar episodes found.