mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
audio: swap audio_rate_get_bytes() function parameters
Swap the rate and info parameters of the audio_rate_get_bytes() function to align the parameter order with the rest of the audio_rate_*() functions. Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220923183640.8314-8-vr_qemu@t-online.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
70ded68b45
commit
613fe02b2a
6 changed files with 8 additions and 8 deletions
|
@ -2276,7 +2276,7 @@ void audio_rate_add_bytes(RateCtl *rate, size_t bytes_used)
|
|||
rate->bytes_sent += bytes_used;
|
||||
}
|
||||
|
||||
size_t audio_rate_get_bytes(struct audio_pcm_info *info, RateCtl *rate,
|
||||
size_t audio_rate_get_bytes(RateCtl *rate, struct audio_pcm_info *info,
|
||||
size_t bytes_avail)
|
||||
{
|
||||
size_t bytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue