mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user