oss_pre_select(): Fix check for empty infput buffer.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Nov 2009 21:21:38 +0000 (22:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 5 Nov 2009 21:21:38 +0000 (22:21 +0100)
commit37c49eac5be8587bcbf2257553e28d2ee8628e14
tree61042891b27fc63e6df3b4bbf5136cd9fc859913
parent3f9051d22fcf6e968259946eaf521ac3daac470e
oss_pre_select(): Fix check for empty infput buffer.

We must take into account the number of bytes already written, and we can not write less
than a single frame.
oss_write.c