diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-10-23 16:26:57 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@server.perex.cz> | 2006-12-20 08:55:43 +0100 |
commit | 9a826ddba6e087b1be24dd78cd0eac42f7eb7e97 (patch) | |
tree | 95740bc34b8face55eb7c989e550986e4136259d /net/irda | |
parent | 3bc89529594767b0f894589f6c05b2d9821b6791 (diff) | |
download | op-kernel-dev-9a826ddba6e087b1be24dd78cd0eac42f7eb7e97.zip op-kernel-dev-9a826ddba6e087b1be24dd78cd0eac42f7eb7e97.tar.gz |
[ALSA] pcm core: fix silence_start calculations
The case where silence_size < boundary was broken because different
parts of the snd_pcm_playback_silence() function disagreed about whether
silence_start should point to the start or to the end of the buffer part
to be silenced.
This patch changes the code to always use to the start, which also
simplifies several calculations.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions