]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
mtmd : rename mtmd_get_audio_bitrate to mtmd_get_audio_sample_rate (#20105)
authorDaniel Bevenius <redacted>
Fri, 13 Mar 2026 11:30:02 +0000 (12:30 +0100)
committerGitHub <redacted>
Fri, 13 Mar 2026 11:30:02 +0000 (12:30 +0100)
commit8f974d2392da4e6fa422a67050e90f1471d72966
tree09f6fb2825840bd3b1020b7b9470f446a4ae84f0
parent2948e6049a4ad0f96a4ab15246db2d2086b80703
mtmd : rename mtmd_get_audio_bitrate to mtmd_get_audio_sample_rate (#20105)

This commit renames the the function `mtmd_get_audio_bitrate` to
`mtmd_get_audio_sample_rate` to better reflect its purpose.

The motivation for this is that the function currently returns the audio
sample rate, not the bitrate (sample_rate × bit_depth × channels), and
that is how it is used in the code as well.

This is a breaking change, but I believe mtmd is still in
experimental/development phase so it might be alright to simply rename.
tools/mtmd/mtmd-helper.cpp
tools/mtmd/mtmd.cpp
tools/mtmd/mtmd.h