Add joc-pcm takeover for ordinary PCM and TrueHD sources
- Add the joc-pcm script option and document it in the config example. - Add PcmEngine: ffmpeg decodes to 48 kHz float32, the kernel PCM_LAYOUT input maps 2.0/5.1/7.1 and renders binaural. - Fall back to the PCM path for non-JOC audio in MP4/Matroska/WebM, including TrueHD, while preserving JOC detection first. - Wire the PCM engine through audio_source, seeking and HTTP serving. - Sync the bundled kernel headers to 1.3.3.
This commit is contained in:
1 parent
5fab3feac5
commit
1afcd6ee06
11 files changed
+390
-11
No files matched your search
@@ -8,6 +8,8 @@ namespace joc_mpv {
|
||||
// script-opts keys are "joc-<name>=<value>" (see config/mpv.conf.example).
|
||||
struct Config {
|
||||
bool enabled = true;
|
||||
// Take over ordinary PCM sources and render them binaurally through ffmpeg.
|
||||
bool pcm = false;
|
||||
// 0 = binaural (2 channels), 1 = speaker layout (N channels).
|
||||
int output = 0;
|
||||
std::string layout = "7.1";
|
||||
|
||||
Reference in new issue
Block a user