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