Browse Source

Alsa audioadapter open file-descriptor leak patch.

tags/1.9.9.5
Stephane Letz 13 years ago
parent
commit
a7892e81ca
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      linux/alsa/JackAlsaAdapter.h

+ 2
- 1
linux/alsa/JackAlsaAdapter.h View File

@@ -523,6 +523,7 @@ namespace Jack
fCardInputs, fCardOutputs,
fFrequency, fBuffering,
snd_pcm_format_name ( ( _snd_pcm_format ) fSampleFormat ) );
snd_ctl_close(ctl_handle);
}

/**
@@ -551,7 +552,7 @@ namespace Jack
printHWParams ( fInputParams );
if ( fSoftOutputs > 0 )
printHWParams ( fOutputParams );
snd_ctl_close(ctl_handle);
return 0;
}



Loading…
Cancel
Save