Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Fix Pcm8 conversions #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix Pcm8 conversions #2

wants to merge 1 commit into from

Conversation

hadadzhi
Copy link

Rationale:
8-bit PCM is unsigned with a midpoint value 128 (0x80), per 3-24 of http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Docs/riffmci.pdf

How to reproduce:
Compare playback of any 8-bit PCM stream between "Internal Audio Renderer" and e.g. "Default DirectSound device", treating unsigned as signed introduces severe distortion.

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

Successfully merging this pull request may close these issues.

1 participant