Fix audio-visualizer example


Pick-to: 6.2 6.4
Fixes: QTCREATORBUG-27852
Change-Id: Icc10aa51f54a7ff19dcff2349048b436f273d6bf
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
commitbe9ccff07db89d2b6470b5654b0244ee8699c150
parente06bccdc935ddd04259fe81cbc17f471837ae4e2
authorTomi Korpipaa <tomi.korpipaa@qt.io>
committerTomi Korpipaa <tomi.korpipaa@qt.io>
commit timeThu, 20 Oct 2022 08:05:17 +0300