Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define LOG(format, ...) wprintf(format L"\n", __VA_ARGS__)
- LOG(
- L"-- waveOut device #%u --\n"
- L"Manufacturer ID: %u\n"
- L"Product ID: %u\n"
- L"Version: %u.%u\n"
- L"Product Name: %s\n"
- L"Formats: 0x%x\n"
- L"Channels: %u\n"
- L"Reserved: %u\n"
- L"Support: 0x%x\n"
- L"%s%s%s%s%s"
- ,
- dev,
- caps.wMid,
- caps.wPid,
- caps.vDriverVersion / 256, caps.vDriverVersion % 256,
- caps.szPname,
- caps.dwFormats,
- caps.wChannels,
- caps.wReserved1,
- caps.dwSupport,
- ((caps.dwSupport & WAVECAPS_LRVOLUME) ? L"\tWAVECAPS_LRVOLUME\n" : L""),
- ((caps.dwSupport & WAVECAPS_PITCH) ? L"\tWAVECAPS_PITCH\n" : L""),
- ((caps.dwSupport & WAVECAPS_PLAYBACKRATE) ? L"\tWAVECAPS_PLAYBACKRATE\n" : L""),
- ((caps.dwSupport & WAVECAPS_VOLUME) ? L"\tWAVECAPS_VOLUME\n" : L""),
- ((caps.dwSupport & WAVECAPS_SAMPLEACCURATE) ? L"\tWAVECAPS_SAMPLEACCURATE\n" : L"")
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement