mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
comment related to debugging bug 50
This commit is contained in:
parent
2dad036b58
commit
6f858be4c8
@ -957,6 +957,7 @@ bool AudioIO::StartPortAudioStream(double sampleRate,
|
|||||||
// Special case: Our 24-bit sample format is different from PortAudio's
|
// Special case: Our 24-bit sample format is different from PortAudio's
|
||||||
// 3-byte packed format. So just make PortAudio return float samples,
|
// 3-byte packed format. So just make PortAudio return float samples,
|
||||||
// since we need float values anyway to apply the gain.
|
// since we need float values anyway to apply the gain.
|
||||||
|
// ANSWER-ME: So we *never* actually handle 24-bit?! This causes mCapture to be set to floatSample below.
|
||||||
if (captureFormat == int24Sample)
|
if (captureFormat == int24Sample)
|
||||||
captureFormat = floatSample;
|
captureFormat = floatSample;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user