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