Skip to content

Commit

Permalink
Publish blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaltaks committed Oct 17, 2012
1 parent 950f48f commit 6057cb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _posts/2012-10-18-air-play-is-not-air-work.md
@@ -0,0 +1,8 @@
---
layout: post
title: "Air Play is not Air Work"
date: 2012-10-18 10:05:49
---
I just spent about twenty minutes puzzling over and reducing a crash in some iOS code running in the simulator until I got back to completely unmodified older code that I knew worked fine. The code was crashing on trying to play an audio file, a file that existed and loaded just fine, but caused EXC_BAD_ACCESS when attempting to play. Something about trying code that I **knew** worked fine triggered me to think a bit differently, and realise that the thing I'm doing different today is playing music from my computer over AirPlay to a new sound system.

It seems the iOS Simulator crashes when it hits audio code if your system audio is pointed at an AirPlay output. Just making a note of this in case it's useful for anyone else (or me later!).

0 comments on commit 6057cb7

Please sign in to comment.