aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_alsa.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:07:44 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:07:44 +0000
commitd742fa6596099b963127b33e845f1c8485cc5840 (patch)
treebd0754affd4b1566bebf149a73afb3e8f408a515 /src/audioOutputs/audioOutput_alsa.c
parent6142959456403ee2ddee4ee83952d648f7bc1c7e (diff)
downloadmpd-d742fa6596099b963127b33e845f1c8485cc5840.tar.gz
mpd-d742fa6596099b963127b33e845f1c8485cc5840.tar.xz
mpd-d742fa6596099b963127b33e845f1c8485cc5840.zip
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
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 3da3e470d..167874b07 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -347,10 +347,10 @@ static int alsa_errorRecovery(AlsaData * ad, int err)
snd_pcm_close(ad->pcmHandle);
ad->pcmHandle = NULL;
break;
- /* this is no error, so just keep running */
- case SND_PCM_STATE_RUNNING:
- err = 0;
- break;
+ /* this is no error, so just keep running */
+ case SND_PCM_STATE_RUNNING:
+ err = 0;
+ break;
default:
/* unknown state, do nothing */
break;
@@ -371,9 +371,9 @@ static void alsa_closeDevice(AudioOutput * audioOutput)
AlsaData *ad = audioOutput->data;
if (ad->pcmHandle) {
- if (snd_pcm_state(ad->pcmHandle) == SND_PCM_STATE_RUNNING) {
- snd_pcm_drain(ad->pcmHandle);
- }
+ if (snd_pcm_state(ad->pcmHandle) == SND_PCM_STATE_RUNNING) {
+ snd_pcm_drain(ad->pcmHandle);
+ }
snd_pcm_close(ad->pcmHandle);
ad->pcmHandle = NULL;
}