Add instructions for using FFmpeg for HLE AAC decoding on macOS

Parth Mishra 2022-06-01 09:35:31 -04:00
parent 5d43ba04be
commit 321bc59ffa

@ -9,6 +9,8 @@ You'll need to download and install the following to build Citra:
* [CMake](https://cmake.org/) (`brew install cmake`)
* [OpenSSL](https://www.openssl.org) (`brew install openssl`)
* A recent version of Xcode and the Xcode command line tools
* **Optional dependencies**:
* [FFmpeg](https://www.ffmpeg.org/download.html#build-mac) 4.0+ is needed for HLE AAC Decoding on macOS (`brew install ffmpeg`)
### Cloning Citra in Git:
@ -31,6 +33,7 @@ mkdir build
cd build
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release
```
* To enable HLE AAC Decoding, include the cmake flag `-DENABLE_FFMPEG_AUDIO_DECODER=ON` (make sure FFmpeg is installed first.)
This builds a fat binary that has slices targeting early and late x64 machines.
@ -52,4 +55,5 @@ A few things to note are:
* When running the cmake command, you'll want to use this command instead:
```
cmake .. -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_BUILD_TYPE=Release
```
```
You can similarly enable HLE AAC decoding by appending the flag `-DENABLE_FFMPEG_AUDIO_DECODER=ON` to the cmake command.