aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-14 15:38:15 -0800
committerChris Robinson <[email protected]>2008-01-14 15:38:15 -0800
commit729f076c3b6dfe6d458a1a55db1593e7b337f295 (patch)
tree000ed6570c2d30202dc336d0dd893243c8fdacb9
parentdfc0118b8bfb5406a6adaf8032ed8f75ed7245d7 (diff)
Reduce indentation
-rw-r--r--Alc/alsa.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 875d1347..9b81ebed 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -177,13 +177,11 @@ static ALuint ALSAProc(ALvoid *ptr)
{
err = psnd_pcm_start(data->pcmHandle);
if(err < 0)
- {
err = xrun_recovery(data->pcmHandle, err);
- if (err < 0)
- {
- AL_PRINT("start failed: %s\n", psnd_strerror(err));
- break;
- }
+ if(err < 0)
+ {
+ AL_PRINT("start failed: %s\n", psnd_strerror(err));
+ break;
}
}
Sleep(1);