···1+diff --git a/src/audio.c b/src/audio.c
2+index d1b9762..cb544dd 100644
3+4+This package assumes that there will always be an audio device while testing.
5+If there is not an audio device, it segfaults. So in the Nix sandbox, it
6+unconditionally segfaults without this patch. This patch allows the tests
7+to flow through the normal error handling logic.
8+9+--- a/src/audio.c
10++++ b/src/audio.c
11+@@ -637,7 +637,6 @@ int start_portaudio(int device, int *nominal_sample_rate, double *real_sample_ra
12+ if(testing) {
13+ *nominal_sample_rate = PA_SAMPLE_RATE;
14+ *real_sample_rate = PA_SAMPLE_RATE;
15+- goto end;
16+ }
17+ #endif
18+