aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-10 09:28:25 -0700
committerChris Robinson <[email protected]>2017-04-10 09:28:25 -0700
commit8a7bc9ab4f6346fcff4584368d94e7098772ce40 (patch)
tree4c8ccbdc4b5d6b8034bffdfd811216a914ee58f0 /Alc/ALc.c
parent6cc69c8d94744d66e68ffffb9b71f6714d86e710 (diff)
Trace the capture device format
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7d4f4de3..47bd19e4 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -4124,6 +4124,10 @@ ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice(const ALCchar *deviceName,
device->UpdateSize = samples;
device->NumUpdates = 1;
+ TRACE("Capture format: %s, %s, %uhz, %u update size x%d\n",
+ DevFmtChannelsString(device->FmtChans), DevFmtTypeString(device->FmtType),
+ device->Frequency, device->UpdateSize, device->NumUpdates
+ );
if((err=V(device->Backend,open)(deviceName)) != ALC_NO_ERROR)
{
al_free(device);