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

Commit 14d47261 authored by Harsh Bansal's avatar Harsh Bansal Committed by Gerrit - the friendly Code Review server
Browse files

hal: passthough not working for IEC61937 HBR content

-For IEC61937 passthough, channel count is alwasy two.
-Channel cound should be eight for HBR content.
-Fix is done to read the channel count from the stream info.

Change-Id: Icb949a7a65031be7477c9c77974c0bdb47bdbd3f
parent 939c563a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -207,6 +207,8 @@ int audio_extn_passthru_get_channel_count(struct stream_out *out)
       channel_count = audio_channel_count_from_out_mask(out->channel_mask);
#endif
       break;
    case AUDIO_FORMAT_IEC61937:
       channel_count = audio_channel_count_from_out_mask(out->channel_mask);
   default:
       break;
   }