diff options
author | dan <dan> | 2003-05-25 07:12:54 +0000 |
---|---|---|
committer | dan <dan> | 2003-05-25 07:12:54 +0000 |
commit | 0d25e540f852f8e7586af15a9d408e490b1f6c32 (patch) | |
tree | 1b29f3a31b9913bdc05411932665a7861611593b /wm/amaterus | |
parent | 032ebd2509de9f93a3824cef615d6f82f09f4c30 (diff) | |
download | pkgsrc-0d25e540f852f8e7586af15a9d408e490b1f6c32.tar.gz |
make audio capture for -tv work on NetBSD.
We don't provide FIONREAD for /dev/audio, so use the seek field
from AUDIO_GETINFO instead.
XXX: by my calculations, the number of samples in seek should be multiplied
by the sample size to get number of bytes to read, but this results in mencoder
being very choppy, presumably because its blocking for audio. I've left the
multiplication in the patch, commented out. The present patch works just fine,
so probably my calculations are wrong.
This bumps all of the mplayer variants, because -tv -dumpaudio
might be used even with the players.
Diffstat (limited to 'wm/amaterus')
0 files changed, 0 insertions, 0 deletions