summaryrefslogtreecommitdiffstats
path: root/stream/ai_sndio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-13 18:00:51 +0200
committerwm4 <wm4@nowhere>2014-04-13 18:03:01 +0200
commit78128bddda4bcea1f256fc13cc33fa2652ed277c (patch)
tree35bf6596cb8e2d7927618845833c3ee36534f890 /stream/ai_sndio.c
parent44f382cf98564c0fe08bdc78579c284362cd6f3c (diff)
downloadmpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.bz2
mpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.xz
Kill all tabs
I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces).
Diffstat (limited to 'stream/ai_sndio.c')
-rw-r--r--stream/ai_sndio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/stream/ai_sndio.c b/stream/ai_sndio.c
index 3cd68e5ee1..dc3c66279d 100644
--- a/stream/ai_sndio.c
+++ b/stream/ai_sndio.c
@@ -18,11 +18,11 @@ int ai_sndio_setup(audio_in_t *ai)
par.le = 1;
par.rchan = ai->req_channels;
par.rate = ai->req_samplerate;
- par.appbufsz = ai->req_samplerate; /* 1 sec */
+ par.appbufsz = ai->req_samplerate; /* 1 sec */
if (!sio_setpar(ai->sndio.hdl, &par) || !sio_getpar(ai->sndio.hdl, &par)) {
- MP_ERR(ai, "could not configure sndio audio");
- return -1;
+ MP_ERR(ai, "could not configure sndio audio");
+ return -1;
}
ai->channels = par.rchan;
@@ -39,8 +39,8 @@ int ai_sndio_init(audio_in_t *ai)
int err;
if ((ai->sndio.hdl = sio_open(ai->sndio.device, SIO_REC, 0)) == NULL) {
- MP_ERR(ai, "could not open sndio audio");
- return -1;
+ MP_ERR(ai, "could not open sndio audio");
+ return -1;
}
err = ai_sndio_setup(ai);