diff --git a/sesman/chansrv/audin.c b/sesman/chansrv/audin.c index 5e759c50..33867f4a 100644 --- a/sesman/chansrv/audin.c +++ b/sesman/chansrv/audin.c @@ -282,9 +282,16 @@ audin_process_formats(int chan_id, struct stream *s) in_uint16_le(s, wf->nBlockAlign); in_uint16_le(s, wf->wBitsPerSample); in_uint16_le(s, wf->cbSize); - LOG_DEVEL(LOG_LEVEL_INFO, "audin_process_formats: recved format wFormatTag 0x%4.4x " - "nChannels %d nSamplesPerSec %d", - wf->wFormatTag, wf->nChannels, wf->nSamplesPerSec); + + LOG(LOG_LEVEL_INFO, "audin_process_formats:"); + LOG(LOG_LEVEL_INFO, " wFormatTag %s", audin_wave_format_tag_to_str(wf->wFormatTag)); + LOG(LOG_LEVEL_INFO, " nChannels %d", wf->nChannels); + LOG(LOG_LEVEL_INFO, " nSamplesPerSec %d", wf->nSamplesPerSec); + LOG(LOG_LEVEL_INFO, " nAvgBytesPerSec %d", wf->nAvgBytesPerSec); + LOG(LOG_LEVEL_INFO, " nBlockAlign %d", wf->nBlockAlign); + LOG(LOG_LEVEL_INFO, " wBitsPerSample %d", wf->wBitsPerSample); + LOG(LOG_LEVEL_INFO, " cbSize %d", wf->cbSize); + if (wf->cbSize > 0) { if (!s_check_rem(s, wf->cbSize))