Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f14e77fe authored by Dean Wheatley's avatar Dean Wheatley
Browse files

SpdifStreamOut: Support AUDIO_FORMAT_E_AC3_JOC

Test: build
Change-Id: Iac3dc90e136d625ecbd95eea5c2eea13fc938657
parent 87025d56
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -59,6 +59,7 @@ status_t SpdifStreamOut::open(
    // TODO Move this into the audio_utils as a static method.
    // TODO Move this into the audio_utils as a static method.
    switch(config->format) {
    switch(config->format) {
        case AUDIO_FORMAT_E_AC3:
        case AUDIO_FORMAT_E_AC3:
        case AUDIO_FORMAT_E_AC3_JOC:
            mRateMultiplier = 4;
            mRateMultiplier = 4;
            break;
            break;
        case AUDIO_FORMAT_AC3:
        case AUDIO_FORMAT_AC3: