Browse Source

FreeBSD: Cleanup unused SNDCTL_AUDIOINFO code.

Fixes a scan-build warning about using uninitialized values.
tags/v1.9.21
Florian Walpen 5 months ago
parent
commit
37d6369ad3
No known key found for this signature in database GPG Key ID: E11C40B3BC8863BC
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      freebsd/oss/JackOSSDriver.cpp

+ 0
- 5
freebsd/oss/JackOSSDriver.cpp View File

@@ -197,7 +197,6 @@ static inline void CopyAndConvertOut(void *dst, jack_sample_t *src, size_t nfram
void JackOSSDriver::DisplayDeviceInfo()
{
audio_buf_info info;
oss_audioinfo ai_in, ai_out;
memset(&info, 0, sizeof(audio_buf_info));
int cap = 0;

@@ -280,10 +279,6 @@ void JackOSSDriver::DisplayDeviceInfo()
if (cap & DSP_CAP_BIND) jack_info(" DSP_CAP_BIND");
}
}

if (ai_in.rate_source != ai_out.rate_source) {
jack_info("Warning : input and output are not necessarily driven by the same clock!");
}
}

int JackOSSDriver::ProbeInBlockSize()


Loading…
Cancel
Save