summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/abuf.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-06-07 06:11:33 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-06-07 06:11:33 +0000
commit3a506d1eb7b6731c6f22862e19865bc0bdd6fd43 (patch)
tree3073fa3dd475f720c257c051b859a0863a4a66d0 /usr.bin/aucat/abuf.c
parent5a0bb33064ebc97a938c6637c52cd3362261d455 (diff)
Add resamp_getcnt() routine to calculate the exact number of samples
that would be consumed and produced by the sampler rate converter. Use it to avoid partial samples that are not properly handled. Fixes last samples of certain files causing aucat to abort.
Diffstat (limited to 'usr.bin/aucat/abuf.c')
0 files changed, 0 insertions, 0 deletions