[wdmaudiodev] LFX APO on Windows 7 x64

  • From: Artem <smirnoff.artem@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 10 Dec 2019 11:02:42 +0300

Hi!

I have an APO (that does some sound virtualization stuff) in LFX on
Windows 7 x64 and on some machines windows continuously calls this
(for stereo source):

->VirtualAPO()
->Initialize()
->IsInputFormatSupported()

Input format:
guidFormatType: 3
dwSamplesPerFrame: 2
dwBytesPerSampleContainer: 4
dwValidBitsPerSample: 32
fFramesPerSecond: 48000
dwChannelMask: 3
Output format:
guidFormatType: 3
dwSamplesPerFrame: 2
dwBytesPerSampleContainer: 4
dwValidBitsPerSample: 32
fFramesPerSecond: 48000
dwChannelMask: 3
->~VirtualAPO()

This repeats many times and format seems to be the same. Once I saw
something like (not sure what 85 means):

Input format:
guidFormatType: 85
dwSamplesPerFrame: 2
dwBytesPerSampleContainer: 0
dwValidBitsPerSample: 0
fFramesPerSecond: 44100

I have implemented IsInputFormatSupported() and it basically accepts
all input channel configurations and then calls base class, but
skipped implementation of IsOutputFormatSupported().
Everything works perfectly on Windows 10 and some Windows 7 PCs, but
on some Windows 7 PCs I see the behavior described above. I can't see
the difference between OSs,
all updates are there and build numbers are the same.

Please advice something, I've already cracked my head :) I know that
Windows 7 is going away, but we have requirements to support it.

regards,
Artem
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: