diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /stream/ai_alsa1x.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'stream/ai_alsa1x.c')
-rw-r--r-- | stream/ai_alsa1x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stream/ai_alsa1x.c b/stream/ai_alsa1x.c index 625ccdf387..fa307a1cd8 100644 --- a/stream/ai_alsa1x.c +++ b/stream/ai_alsa1x.c @@ -119,19 +119,19 @@ int ai_alsa_setup(audio_in_t *ai) 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_tmsg(MSGT_TV, MSGL_ERR, "Error opening audio: %s\n", 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 @@ int ai_alsa_xrun(audio_in_t *ai) { snd_pcm_status_t *status; int res; - + snd_pcm_status_alloca(&status); if ((res = snd_pcm_status(ai->alsa.handle, status))<0) { mp_tmsg(MSGT_TV, MSGL_ERR, "ALSA status error: %s", snd_strerror(res)); |