mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
sample-util: use built-in function
use built-in function pa_frame_aligned(). Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
This commit is contained in:
parent
1824fc6d73
commit
625380d809
1 changed files with 1 additions and 1 deletions
|
|
@ -734,7 +734,7 @@ void pa_volume_memchunk(
|
|||
|
||||
pa_assert(c);
|
||||
pa_assert(spec);
|
||||
pa_assert(c->length % pa_frame_size(spec) == 0);
|
||||
pa_assert(pa_frame_aligned(c->length, spec));
|
||||
pa_assert(volume);
|
||||
|
||||
if (pa_memblock_is_silence(c->memblock))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue