Mercurial > mplayer.hg
diff stream/ai_alsa1x.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | e47193172586 |
children | ce0122361a39 |
line wrap: on
line diff
--- a/stream/ai_alsa1x.c Tue May 12 19:25:35 2009 +0000 +++ b/stream/ai_alsa1x.c Wed May 13 02:58:57 2009 +0000 @@ -119,19 +119,19 @@ int ai_alsa_init(audio_in_t *ai) { int err; - + err = snd_pcm_open(&ai->alsa.handle, ai->alsa.device, SND_PCM_STREAM_CAPTURE, 0); if (err < 0) { mp_msg(MSGT_TV, MSGL_ERR, MSGTR_MPDEMUX_AIALSA_ErrorOpeningAudio, snd_strerror(err)); return -1; } - + err = snd_output_stdio_attach(&ai->alsa.log, stderr, 0); - + if (err < 0) { return -1; } - + err = ai_alsa_setup(ai); return err; @@ -153,7 +153,7 @@ { snd_pcm_status_t *status; int res; - + snd_pcm_status_alloca(&status); if ((res = snd_pcm_status(ai->alsa.handle, status))<0) { mp_msg(MSGT_TV, MSGL_ERR, MSGTR_MPDEMUX_AIALSA_AlsaStatusError, snd_strerror(res));