microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.47k stars 393 forks source link

Media Reader missing? #82

Closed cpyburn closed 3 years ago

cpyburn commented 3 years ago

Is Media Reader missing in the XTK. or is there a new way to play MP3s?

walbourn commented 3 years ago

DirectX Tool Kit for Audio (included in both DX11 & DX12 versions), has a SoundStreamInstance class for doing streaming of PCM, ADPCM, and xWMA content from an XACT-style wavebank. For other kinds of compression, you need to implement your own solution or you can make use of DynamicSoundEffectInstance