ref: 973185f4015df5b8ca89dae9429f1e5d7abfbde5
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)); }