Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] high quality audio #53

Open
willbr opened this issue Aug 17, 2023 · 0 comments
Open

[feature] high quality audio #53

willbr opened this issue Aug 17, 2023 · 0 comments

Comments

@willbr
Copy link

willbr commented Aug 17, 2023

In the past we had HighQ and https://github.com/foone/PyQ

Maybe we can just disable the conversion?

// if the file format is not 11M8, then create a converter to 11M8
if ((wfxSrc.nSamplesPerSec != knSamplesPerSec) || (wfxSrc.wBitsPerSample != kwBitsPerSample) ||
(wfxSrc.nChannels != knChannels))
{
// Convert the wave import to 3mm's 11M8
wfxSrc.nSamplesPerSec = knSamplesPerSec;
wfxSrc.nAvgBytesPerSec = knAvgBytesPerSec;
wfxSrc.wBitsPerSample = kwBitsPerSample;
wfxSrc.nChannels = knChannels;
wfxSrc.nBlockAlign = knBlockAlign;
if (FAILED(AllocConvertFilter(&psndTemp, psnd, (LPWAVEFORMATEX)&wfxSrc)))
goto LFailPushError;
ReleasePpo(&psnd);
psnd = psndTemp;
psndTemp = pvNil;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant