mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 06:40:07 +00:00
Add instructions for using FFmpeg for HLE AAC decoding on macOS
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.
|
||||
|
||||
@ -53,3 +56,4 @@ A few things to note are:
|
||||
```
|
||||
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.
|
Loading…
Reference in New Issue
Block a user