XAudio2 audio playback after decoding mp3 from libmad

Maester Rowen <[email protected]> Thu, 20 Apr 2017 23:20:13 -0700
Newsgroups gmane.comp.audio.mad.devel
Message-ID <CAAf9Cv-EZMUdV9rr3yt3fG2OF0_b0Hj-gmX69X-hMJjo+ngqWQ@mail.gmail.com>
--001a11405ba613d985054da74052
Content-Type: text/plain; charset=UTF-8

Hello!

I have successfully decoded my 16-bit MP3 using libmad.  I am having an
extremely difficult time getting playback through Microsoft's XAudio2 API.

I can get the audio data to play, but it is heavily distorted, levels are
peaking and it just sounds not good.

I took a look at many open source mp3 players using libmad, and all of the
ones that play correctly are using DirectSound.

If anyone has any experience with this, I would love to receive any tips
you have.

Thanks!

--001a11405ba613d985054da74052
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello!<div><br></div><div>I have successfully decoded my 1=
6-bit MP3 using libmad.=C2=A0 I am having an extremely difficult time getti=
ng playback through Microsoft&#39;s XAudio2 API.</div><div><br></div><div>I=
 can get the audio data to play, but it is heavily distorted, levels are pe=
aking and it just sounds not good.</div><div><br></div><div>I took a look a=
t many open source mp3 players using libmad, and all of the ones that play =
correctly are using DirectSound.</div><div><br></div><div>If anyone has any=
 experience with this, I would love to receive any tips you have.</div><div=
><br></div><div>Thanks!</div><div><br></div></div>

--001a11405ba613d985054da74052--