Show More
Commit Description:
Make sound preview use the new volume....
Commit Description:
Make sound preview use the new volume. Plays the sound at the new volume, not the old volume. Uses nullables, which I'm a little unsure of how well they'll work out in practice. I think this is a reasonable place to experiment.
File last commit:
Show/Diff file:
Action:
FNA/lib/FAudio/README.ffmpeg
26 lines | 1.0 KiB | text/plain | TextLexer
FAudio has optional support for decoding xWMA resources using FFmpeg.
Please note that enabling support for FFmpeg means your project has to comply
with the FFmpeg license. For more information please consult the FFmpeg project at
https://www.ffmpeg.org/legal.html
Building with FFmpeg support on *nix platforms
----------------------------------------------
Enable FFmpeg support at cmake configure-time with `-DFFMPEG=ON`.
When enabling FFMpeg support you must also specify
`-DFFmpeg_INCLUDE_DIR=`
with the path to the system's ffmpeg include folder.
Ex.
`-DFFmpeg_INCLUDE_DIR=/usr/include/`
or
`-DFFmpeg_INCLUDE_DIR=/usr/include/ffmpeg/`
Building with FFmpeg support on Windows
---------------------------------------
You'll need to modify the Visual Studio project for FAudio to enable support:
- add HAVE_FFMPEG=1 to preprocessor defines
- add the correct include and lib paths to the VisualC++ directories.
- add avutil.lib and avcodec.lib to the linker input
- add faudio_ffmpeg.c to the sources of the project