commit f15e29bd1819101807fae10d7d14e258ff860991 parent ba07059dd0e1192020e6ef8aaf24d648df5c9d88 Author: sin <sin@2f30.org> Date: Thu, 25 Dec 2014 17:49:21 +0000 Actually use bits Diffstat:
M | wav.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wav.c b/wav.c @@ -50,7 +50,7 @@ wavopen(const char *name) goto err0; } - if (output->open(16, sfinfo.samplerate, sfinfo.channels) < 0) + if (output->open(bits, sfinfo.samplerate, sfinfo.channels) < 0) goto err0; return 0;