coreaudio: Replaced an int with an SDL_bool.

Ryan C. Gordon 2016-09-02 13:12:21 -04:00
parent f9d9708f6b
commit fda7a3d158
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -44,7 +44,7 @@
struct SDL_PrivateAudioData
{
AudioUnit audioUnit;
int audioUnitOpened;
SDL_bool audioUnitOpened;
void *buffer;
UInt32 bufferOffset;
UInt32 bufferSize;