Manually apply: [PATCH 07/19] Whitespace only

This commit is contained in:
Russell
2011-11-17 17:01:53 +00:00
parent a2bdb839a3
commit 0e923eecaa

View File

@@ -145,8 +145,8 @@ void GetADCCounts(unsigned samFreq, int &min, int &mid, int &max);
it needs to be changed for a different sample rate or number of channels.
The amount set here is what determines the latency of the buffering.
*/
static void set_prefills(unsigned int sampFreq) {
int min,mid,max;
static void set_prefills(unsigned int sampFreq)
{
int usb_speed;
unsigned prefill;
int bytes_per_sample;
@@ -158,7 +158,6 @@ static void set_prefills(unsigned int sampFreq) {
frame = usb_speed == XUD_SPEED_HS ? 8000 : 1000;
packet_size = ((((sampFreq+frame-1)/frame))+3);
bytes_per_sample = usb_speed == XUD_SPEED_HS ? 4 : 3;
GET_SHARED_GLOBAL(num_channels, g_numUsbChanOut);
@@ -174,7 +173,7 @@ static void set_prefills(unsigned int sampFreq) {
#ifdef MIDI
static inline void swap(xc_ptr &a, xc_ptr &b)
{
xc_ptr tmp;
@@ -183,6 +182,7 @@ static inline void swap(xc_ptr &a, xc_ptr &b)
b = tmp;
return;
}
#endif
// shared global midi buffering variables
#ifdef MIDI