Skip to content

Samplerate conversion for Pull mode output device (Compatibility w/ beatoraja) #1

@phu54321

Description

@phu54321

Beatoraja settings may dictate 44100hz, but the underlying device MAY not like 44100hz.

[20230731 22:01:33.118524] [error] {0.0.0.00000000}.{1b110554-0a93-490a-851d-d902c005968e} pAudioClient->IsFormatSupported failed: S_FALSE (see pClosestMatch)
[20230731 22:01:33.118539] [error]     : pWaveFormat.wFormatTag: 65534
[20230731 22:01:33.118544] [error]     : pWaveFormat.channelCount: 2
[20230731 22:01:33.118548] [error]     : pWaveFormat.nSamplesPerSec: 44100
[20230731 22:01:33.118551] [error]     : pWaveFormat.nAvgBytesPerSec: 352800
[20230731 22:01:33.118555] [error]     : pWaveFormat.nBlockAlign: 8
[20230731 22:01:33.118559] [error]     : pWaveFormat.cbSize: 22
[20230731 22:01:33.118562] [error]     : pClosestMatch.wFormatTag: 65534
[20230731 22:01:33.118566] [error]     : pClosestMatch.channelCount: 2
[20230731 22:01:33.118569] [error]     : pClosestMatch.nSamplesPerSec: 48000
[20230731 22:01:33.118573] [error]     : pClosestMatch.nAvgBytesPerSec: 384000
[20230731 22:01:33.118577] [error]     : pClosestMatch.nBlockAlign: 8
[20230731 22:01:33.118580] [error]     : pClosestMatch.cbSize: 22
[20230731 22:01:33.118723] [debug] KeyDownListener threadProc loop
[20230731 22:01:33.118947] [error] {0.0.0.00000000}.{1b110554-0a93-490a-851d-d902c005968e} pAudioClient->IsFormatSupported failed: S_FALSE (see pClosestMatch)
[20230731 22:01:33.118958] [error]     : pWaveFormat.wFormatTag: 65534
[20230731 22:01:33.118962] [error]     : pWaveFormat.channelCount: 2
[20230731 22:01:33.118966] [error]     : pWaveFormat.nSamplesPerSec: 44100
[20230731 22:01:33.119001] [error]     : pWaveFormat.nAvgBytesPerSec: 352800
[20230731 22:01:33.119005] [error]     : pWaveFormat.nBlockAlign: 8
[20230731 22:01:33.119009] [error]     : pWaveFormat.cbSize: 22
[20230731 22:01:33.119012] [error]     : pClosestMatch.wFormatTag: 65534
[20230731 22:01:33.119016] [error]     : pClosestMatch.channelCount: 2
[20230731 22:01:33.119019] [error]     : pClosestMatch.nSamplesPerSec: 48000
[20230731 22:01:33.119022] [error]     : pClosestMatch.nAvgBytesPerSec: 384000
[20230731 22:01:33.119026] [error]     : pClosestMatch.nBlockAlign: 8
[20230731 22:01:33.119029] [error]     : pClosestMatch.cbSize: 22
[20230731 22:01:33.119381] [error] {0.0.0.00000000}.{1b110554-0a93-490a-851d-d902c005968e} pAudioClient->IsFormatSupported failed: S_FALSE (see pClosestMatch)
[20230731 22:01:33.119391] [error]     : pWaveFormat.wFormatTag: 65534
[20230731 22:01:33.119395] [error]     : pWaveFormat.channelCount: 2
[20230731 22:01:33.119399] [error]     : pWaveFormat.nSamplesPerSec: 44100
[20230731 22:01:33.119403] [error]     : pWaveFormat.nAvgBytesPerSec: 176400
[20230731 22:01:33.119406] [error]     : pWaveFormat.nBlockAlign: 4
[20230731 22:01:33.119409] [error]     : pWaveFormat.cbSize: 22
[20230731 22:01:33.119413] [error]     : pClosestMatch.wFormatTag: 65534
[20230731 22:01:33.119416] [error]     : pClosestMatch.channelCount: 2
[20230731 22:01:33.119420] [error]     : pClosestMatch.nSamplesPerSec: 48000
[20230731 22:01:33.119423] [error]     : pClosestMatch.nAvgBytesPerSec: 384000
[20230731 22:01:33.119426] [error]     : pClosestMatch.nBlockAlign: 8
[20230731 22:01:33.119430] [error]     : pClosestMatch.cbSize: 22

Which leads to Hardware is malfuncitoning error message on beatoraja.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions