void pcm_dsd_deinit(struct pcm_dsd *dsd) { pcm_buffer_deinit(&dsd->buffer); for (unsigned i = 0; i < G_N_ELEMENTS(dsd->dsd2pcm); ++i) if (dsd->dsd2pcm[i] != NULL) dsd2pcm_destroy(dsd->dsd2pcm[i]); }
~dxd() { dsd2pcm_destroy(handle); }