You can use MatLog app for that.
In the search bar, type 24 or 192000. If you get some logs which contain either of these, then you got 24bit.
Else in terminal, type -
su
dumpsys media.audio_flinger
And check for the steam which says-
Standby:no
Processing format: pcm24