diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2007-10-28 13:23:02 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2007-10-28 13:23:02 +0000 |
commit | 195759fd6ed67016b72aab3e8906fdddb34585bc (patch) | |
tree | 73ee647343dece6619b9912e5c1bc1f55b91e945 /sys/arch/i386 | |
parent | da8fed6a65f5ec09523534b36b00dcb08b449763 (diff) |
the pointer we give to audio_fill_silence() may point in the middle of a
sample (eg. if write(2) have written an odd number of bytes and 16bit
encoding is used), so we'll not properly write silence. To fix this,
round start pointer to fill with silence uncomplete samples too.
ok jakemsr@
Diffstat (limited to 'sys/arch/i386')
0 files changed, 0 insertions, 0 deletions