Become a Creator today!Start creating today - Share your story with the world!
Start for free
00:00:00
00:00:01
AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own image

AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own

E105 · AppForce1: news and info for iOS app developers
Avatar
245 Plays19 days ago

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 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 lifecycles

Looking 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.


Backblaze Cloud Backup
Never Lose a File Again with the World's Easiest Cloud Backup. Back up your Mac or PC just $6/month.

Sendy, send newsletters, 100x cheaper
A self hosted email newsletter, send emails via Amazon SES without sacrificing deliverability.

Disclaimer: This post contains affiliate links. If you make a purchase, I may receive a commission at no extra cost to you.

Support the show

Do iOS: https://do-ios.com


Rate me on Apple Podcasts.

Send feedback on SpeakPipe
Or contact me:

Support my podcast with a monthly subscription, it really helps.

My book: Being a Lead Software Developer

Recommended