Skip to content

Commit

Permalink
Added CA_CANONICAL_DEPRECATED check
Browse files Browse the repository at this point in the history
  • Loading branch information
tumtumtum committed Dec 29, 2014
1 parent 8708e48 commit 39f0d8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion StreamingKit/StreamingKit/STKAudioPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ +(void) initialize
.componentFlagsMask = 0
};

#if CA_PREFER_FIXED_POINT || __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000
#ifdef CA_CANONICAL_DEPRECATED
const int bytesPerSample = sizeof(SInt16);
#elif __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000
const int bytesPerSample = sizeof(SInt16);
#else
const int bytesPerSample = sizeof(AudioSampleType);
Expand Down

0 comments on commit 39f0d8b

Please sign in to comment.