ref: 8b5f8089f293105a48fdd41d976988f1b98a4c19
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)); }