ref: cbff5cf07f67b6a20c1718b10fece652a62bdaa0
dir: /src/helpers/silence.c/
/* _______ ____ __ ___ ___ * \ _ \ \ / \ / \ \ / / ' ' ' * | | \ \ | | || | \/ | . . * | | | | | | || ||\ /| | * | | | | | | || || \/ | | ' ' ' * | | | | | | || || | | . . * | |_/ / \ \__// || | | * /_______/ynamic \____/niversal /__\ /____\usic /| . . ibliotheque * / \ * / . \ * silence.c - Silencing helper. / / \ \ * | < / \_ * By entheh. | \/ /\ / * \_ / > / * | \ / / * | ' / * \__/ */ #include <string.h> #include "dumb.h" void dumb_silence(sample_t *samples, long length) { memset(samples, 0, length * sizeof(*samples)); }