با برنامه Player FM !
AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own
Manage episode 507757948 series 2812161
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:
- Mastodon: https://hachyderm.io/@appforce1
- X: https://x.com/appforce1
- BlueSky: https://bsky.app/profile/appforce1.net
- LinkedIN: https://www.linkedin.com/in/leenarts/
Support my podcast with a monthly subscription, it really helps.
My book: Being a Lead Software Developer
فصل ها
1. AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own (00:00:00)
2. Introduction to iOS Development Worklog (00:00:01)
3. Week in Review: Audio Engine Refactoring (00:00:39)
4. Code Deep Dive: Audio Engine Split (00:03:14)
5. Background Task Management (00:11:10)
6. Lessons Learned from Audio Engineering (00:19:24)
7. Looking Ahead: SwiftUI and Do iOS 2025 (00:25:29)
8. Recap and Final Thoughts (00:29:50)
225 قسمت
Manage episode 507757948 series 2812161
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:
- Mastodon: https://hachyderm.io/@appforce1
- X: https://x.com/appforce1
- BlueSky: https://bsky.app/profile/appforce1.net
- LinkedIN: https://www.linkedin.com/in/leenarts/
Support my podcast with a monthly subscription, it really helps.
My book: Being a Lead Software Developer
فصل ها
1. AppForce1 Worklog: When Your Volume Slider Has a Mind of Its Own (00:00:00)
2. Introduction to iOS Development Worklog (00:00:01)
3. Week in Review: Audio Engine Refactoring (00:00:39)
4. Code Deep Dive: Audio Engine Split (00:03:14)
5. Background Task Management (00:11:10)
6. Lessons Learned from Audio Engineering (00:19:24)
7. Looking Ahead: SwiftUI and Do iOS 2025 (00:25:29)
8. Recap and Final Thoughts (00:29:50)
225 قسمت
همه قسمت ها
×به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.