Commit 70e78f3e authored by Jan Kiene's avatar Jan Kiene
Browse files

apply clang-format

parent 9cac4321
Loading
Loading
Loading
Loading
Loading
+87 −92
Original line number Diff line number Diff line
@@ -646,11 +646,9 @@ IVAS_REND_AudioConfigType getAudioConfigType(

static ivas_error validateOutputSampleRate(
    const Word32 sampleRate,
    const AUDIO_CONFIG outConfig )
{
    const AUDIO_CONFIG outConfig ){

    IF( NE_32( getAudioConfigType( outConfig ), IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL ) )
    {
    IF( NE_32( getAudioConfigType( outConfig ), IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL ) ){
        /* If no binaural rendering, any sampling rate is supported */
        return IVAS_ERR_OK;
}
@@ -1489,16 +1487,13 @@ static ivas_error setRendInputActiveIsm(
    move32();

    test();
    IF( EQ_16( outConfig, IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) )
    {
    IF( EQ_16( outConfig, IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) ){
#ifdef SPLIT_REND_WITH_HEAD_ROT
        IF( NE_32( ( error = ivas_rend_openCrend( &inputIsm->crendWrapper, IVAS_AUDIO_CONFIG_7_1_4, outConfig, hRendCfg, NULL, *rendCtx.pOutSampleRate, rendCtx.pSplitRendWrapper->multiBinPoseData.num_poses ) ), IVAS_ERR_OK ) )
        {
        IF( NE_32( ( error = ivas_rend_openCrend( &inputIsm->crendWrapper, IVAS_AUDIO_CONFIG_7_1_4, outConfig, hRendCfg, NULL, *rendCtx.pOutSampleRate, rendCtx.pSplitRendWrapper->multiBinPoseData.num_poses ) ), IVAS_ERR_OK ) ){
            return error;
}
#else
        IF( NE_32( ( error = ivas_rend_openCrend( &inputIsm->crendWrapper, IVAS_AUDIO_CONFIG_7_1_4, outConfig, hRendCfg, NULL, *rendCtx.pOutSampleRate ) ), IVAS_ERR_OK ) )
        {
        IF( NE_32( ( error = ivas_rend_openCrend( &inputIsm->crendWrapper, IVAS_AUDIO_CONFIG_7_1_4, outConfig, hRendCfg, NULL, *rendCtx.pOutSampleRate ) ), IVAS_ERR_OK ) ){
            return error;
}
#endif
+2 −2

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.