diff options
Diffstat (limited to 'sound/isa/wavefront/wavefront_synth.c')
-rw-r--r-- | sound/isa/wavefront/wavefront_synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c index bed329edbdd..78020d832e0 100644 --- a/sound/isa/wavefront/wavefront_synth.c +++ b/sound/isa/wavefront/wavefront_synth.c | |||
@@ -1068,7 +1068,7 @@ wavefront_send_sample (snd_wavefront_t *dev, | |||
1068 | blocksize = max_blksize; | 1068 | blocksize = max_blksize; |
1069 | } else { | 1069 | } else { |
1070 | /* round to nearest 16-byte value */ | 1070 | /* round to nearest 16-byte value */ |
1071 | blocksize = ((length-written+7)&~0x7); | 1071 | blocksize = ALIGN(length - written, 8); |
1072 | } | 1072 | } |
1073 | 1073 | ||
1074 | if (snd_wavefront_cmd (dev, WFC_DOWNLOAD_BLOCK, NULL, NULL)) { | 1074 | if (snd_wavefront_cmd (dev, WFC_DOWNLOAD_BLOCK, NULL, NULL)) { |