Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
coreaudio: Replaced an int with an SDL_bool.
  • Loading branch information
icculus committed Sep 2, 2016
1 parent f9d9708 commit fda7a3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/audio/coreaudio/SDL_coreaudio.c
Expand Up @@ -564,7 +564,7 @@ prepare_audiounit(_THIS, void *handle, int iscapture,
result = AudioComponentInstanceNew(comp, &this->hidden->audioUnit);
CHECK_RESULT("AudioComponentInstanceNew");

this->hidden->audioUnitOpened = 1;
this->hidden->audioUnitOpened = SDL_TRUE;

if (iscapture) { /* have to do EnableIO only for capture devices. */
UInt32 enable = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/audio/coreaudio/SDL_coreaudio.h
Expand Up @@ -44,7 +44,7 @@
struct SDL_PrivateAudioData
{
AudioUnit audioUnit;
int audioUnitOpened;
SDL_bool audioUnitOpened;
void *buffer;
UInt32 bufferOffset;
UInt32 bufferSize;
Expand Down

0 comments on commit fda7a3d

Please sign in to comment.