Show More
Commit Description:
Optimize PreserveCounts and only recalculate when needed....
Commit Description:
Optimize PreserveCounts and only recalculate when needed. Previously would recalculate preservecounts every Update call (~1 per frame), which isn't necessary when there's no tick. Might be some room to tweak, like doing these updates only when preserves change. Some measurements: This takes about 30ms versus the .25 ms with no preserve (then like .0002ms). When the map is filled up with preserve, about 35ms and 9ms. With a handful of cells, it's more like 0.8ms (before JIT optimizes most of it away).
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