luis4god / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

Patch for JackDspSource.cpp to fix crash when quitting #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Patch to possibly fix the attached crash when quitting Darkice :

Index: src/JackDspSource.cpp
===================================================================
--- src/JackDspSource.cpp   (revision 558)
+++ src/JackDspSource.cpp   (working copy)
@@ -417,6 +417,8 @@
     if ( !isOpen() ) {
         return;
     }
+    
+    jack_deactivate(client);

     for(i = 0; i < getChannel(); i++) {
         // Close the port for channel

Original issue reported on code.google.com by l...@free.fr on 22 Feb 2014 at 4:32

Attachments:

GoogleCodeExporter commented 9 years ago
Does this patch fix the problem for you?

Original comment by rafael2k...@gmail.com on 26 Feb 2014 at 7:50