Skip to content

Commit

Permalink
Topology2: fix obs size for src converter from 48k
Browse files Browse the repository at this point in the history
From 48k, the obs for 11025/22050/44100/88200/176400 setting
need take care, previous implementation left 5 words redundency
for output, this change only keep 1 words redundency.

Signed-off-by: Baofeng Tian <[email protected]>
  • Loading branch information
btian1 committed Oct 30, 2023
1 parent a40fc9e commit f28fd43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 32 ]
obs "$[($out_channels * (($[($out_rate + 999)] / 1000) + 4)) * ($out_bit_depth / 8)]"
obs "$[$out_channels * (($out_rate / 1000) + 1) * ($out_bit_depth / 8)]"
}
]

Expand Down

0 comments on commit f28fd43

Please sign in to comment.