···11+diff --git a/src/audio.c b/src/audio.c
22+index d1b9762..cb544dd 100644
33+44+This package assumes that there will always be an audio device while testing.
55+If there is not an audio device, it segfaults. So in the Nix sandbox, it
66+unconditionally segfaults without this patch. This patch allows the tests
77+to flow through the normal error handling logic.
88+99+--- a/src/audio.c
1010++++ b/src/audio.c
1111+@@ -637,7 +637,6 @@ int start_portaudio(int device, int *nominal_sample_rate, double *real_sample_ra
1212+ if(testing) {
1313+ *nominal_sample_rate = PA_SAMPLE_RATE;
1414+ *real_sample_rate = PA_SAMPLE_RATE;
1515+- goto end;
1616+ }
1717+ #endif
1818+