Fixed minor formatting issues

This commit is contained in:
Mike McDonald 2013-08-28 21:37:45 -04:00
parent cfe90ae829
commit 3e1f72a011

View File

@ -60,7 +60,7 @@ static OSStatus rdpsnd_ios_render_cb(
if (inBusNumber != 0)
{
return noErr;
};
}
rdpsndIOSPlugin *p = THIS(inRefCon);
@ -84,8 +84,8 @@ static OSStatus rdpsnd_ios_render_cb(
target_buffer->mDataByteSize = 0;
AudioOutputUnitStop(p->audio_unit);
p->is_playing = 0;
};
};
}
}
return noErr;
}
@ -138,7 +138,7 @@ static void rdpsnd_ios_stop(rdpsndDevicePlugin* __unused device)
/* Free all buffers. */
TPCircularBufferClear(&p->buffer);
};
}
}
static void rdpsnd_ios_play(rdpsndDevicePlugin* device, BYTE* data, int size)
@ -152,7 +152,6 @@ static void rdpsnd_ios_play(rdpsndDevicePlugin* device, BYTE* data, int size)
}
rdpsnd_ios_start(device);
}
static void rdpsnd_ios_open(rdpsndDevicePlugin* device, AUDIO_FORMAT* format, int __unused latency)
@ -162,7 +161,7 @@ static void rdpsnd_ios_open(rdpsndDevicePlugin* device, AUDIO_FORMAT* format, in
if (p->is_opened)
{
return;
};
}
/* Find the output audio unit. */
AudioComponentDescription desc;