Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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!). |