Commit d742fa65 authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

whitespace cleanup

Clean up some space indentations, replace with tabs. git-svn-id: https://svn.musicpd.org/mpd/trunk@7239 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 61429594
...@@ -347,10 +347,10 @@ static int alsa_errorRecovery(AlsaData * ad, int err) ...@@ -347,10 +347,10 @@ static int alsa_errorRecovery(AlsaData * ad, int err)
snd_pcm_close(ad->pcmHandle); snd_pcm_close(ad->pcmHandle);
ad->pcmHandle = NULL; ad->pcmHandle = NULL;
break; break;
/* this is no error, so just keep running */ /* this is no error, so just keep running */
case SND_PCM_STATE_RUNNING: case SND_PCM_STATE_RUNNING:
err = 0; err = 0;
break; break;
default: default:
/* unknown state, do nothing */ /* unknown state, do nothing */
break; break;
...@@ -371,9 +371,9 @@ static void alsa_closeDevice(AudioOutput * audioOutput) ...@@ -371,9 +371,9 @@ static void alsa_closeDevice(AudioOutput * audioOutput)
AlsaData *ad = audioOutput->data; AlsaData *ad = audioOutput->data;
if (ad->pcmHandle) { if (ad->pcmHandle) {
if (snd_pcm_state(ad->pcmHandle) == SND_PCM_STATE_RUNNING) { if (snd_pcm_state(ad->pcmHandle) == SND_PCM_STATE_RUNNING) {
snd_pcm_drain(ad->pcmHandle); snd_pcm_drain(ad->pcmHandle);
} }
snd_pcm_close(ad->pcmHandle); snd_pcm_close(ad->pcmHandle);
ad->pcmHandle = NULL; ad->pcmHandle = NULL;
} }
......
...@@ -308,7 +308,7 @@ static void decodeStart(PlayerControl * pc, OutputBuffer * cb, ...@@ -308,7 +308,7 @@ static void decodeStart(PlayerControl * pc, OutputBuffer * cb,
/* for http streams, seekable is determined in bufferInputStream */ /* for http streams, seekable is determined in bufferInputStream */
dc->seekable = inStream.seekable; dc->seekable = inStream.seekable;
if (dc->stop) if (dc->stop)
goto stop; goto stop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment