diff options
author | Chris Robinson <[email protected]> | 2017-06-22 13:58:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-06-22 13:58:32 -0700 |
commit | 31b02e044f689e9d586a935c924e4a989371823e (patch) | |
tree | 08e6d2949afb9e43f1f2383d25f70645b87fbecd /Alc | |
parent | 552d3a85aff6290c5bc06e4093c7c7ebfd486456 (diff) |
Trace the capture converter formats for mmdevapi
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/backends/mmdevapi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c index 43d8429d..875a3e4d 100644 --- a/Alc/backends/mmdevapi.c +++ b/Alc/backends/mmdevapi.c @@ -1744,6 +1744,7 @@ static HRESULT ALCmmdevCapture_resetProxy(ALCmmdevCapture *self) ERR("Failed to create stereo-to-mono converter\n"); return E_FAIL; } + TRACE("Created stereo-to-mono converter\n"); /* The channel converter always outputs float, so change the input type * for the resampler/type-converter. */ @@ -1758,6 +1759,7 @@ static HRESULT ALCmmdevCapture_resetProxy(ALCmmdevCapture *self) ERR("Failed to create mono-to-stereo converter\n"); return E_FAIL; } + TRACE("Created mono-to-stereo converter\n"); srcType = DevFmtFloat; } @@ -1775,6 +1777,10 @@ static HRESULT ALCmmdevCapture_resetProxy(ALCmmdevCapture *self) OutputType.Format.nSamplesPerSec); return E_FAIL; } + TRACE("Created converter for format, dst: %s %s %uhz, src: %d-bit %luhz\n", + DevFmtChannelsString(device->FmtChans), DevFmtTypeString(device->FmtType), + device->Frequency, OutputType.Format.wBitsPerSample, + OutputType.Format.nSamplesPerSec); } hr = IAudioClient_Initialize(self->client, |