audio: rename audio_sw_bytes_free()
commitc4e592647e161fe23adc3eccd8743b285e4b342b
authorVolker Rümelin <vr_qemu@t-online.de>
Fri, 23 Sep 2022 18:36:37 +0000 (23 20:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Oct 2022 08:17:08 +0000 (11 10:17 +0200)
treed9fad85d41a1673f0f83a08db14751e24cf04ea8
parent613fe02b2a127d921b37843cb514e919ecbe53f5
audio: rename audio_sw_bytes_free()

Rename and refactor audio_sw_bytes_free(). This function is not
limited to calculate the free audio buffer size. The renamed
function returns the number of frames instead of bytes.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-9-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c