indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403608
This commit is contained in:
parent
3071101f22
commit
483f2ba3fb
41 changed files with 7305 additions and 7366 deletions
|
@ -477,7 +477,8 @@ SDL_RunAudio(void *devicep)
|
|||
/* Wait for an audio buffer to become available */
|
||||
current_audio.impl.WaitDevice(device);
|
||||
} else {
|
||||
SDL_Delay((device->spec.samples * 1000) / device->spec.freq);
|
||||
SDL_Delay((device->spec.samples * 1000) /
|
||||
device->spec.freq);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -525,7 +526,7 @@ SDL_RunAudio(void *devicep)
|
|||
/* Wait for an audio buffer to become available */
|
||||
current_audio.impl.WaitDevice(device);
|
||||
} else {
|
||||
SDL_Delay((device->spec.samples * 1000) / device->spec.freq);
|
||||
SDL_Delay((device->spec.samples * 1000) / device->spec.freq);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -44,7 +44,7 @@ struct SDL_PrivateAudioData
|
|||
/* The audio device handle */
|
||||
int cardno;
|
||||
int deviceno;
|
||||
snd_pcm_t* audio_handle;
|
||||
snd_pcm_t *audio_handle;
|
||||
|
||||
/* The audio file descriptor */
|
||||
int audio_fd;
|
||||
|
@ -53,7 +53,7 @@ struct SDL_PrivateAudioData
|
|||
uint32_t timeout_on_wait;
|
||||
|
||||
/* Raw mixing buffer */
|
||||
Uint8* pcm_buf;
|
||||
Uint8 *pcm_buf;
|
||||
Uint32 pcm_len;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue