koocmit There the third option from top under "Recognition" is "Audio Source". Setting it to Microphone should allow you to not engage screen sharing when you use it.
Developer-Dude
I'm going to take a guess here what is happening and what it needs the microphone and screen recoding permission.
Scenario 1: there is a song playing on external speakers (car radio, someone else's phone, coffee shop, etc.)
- Required permissions: your devices microphone, and therefore the well known Microphone permission
Scenario 2: there is a song playing on your phone's internal speakers (no wired/wireless connected, no Bluetooth speakers connected)
- Required permissions: your devices microphone, and therefore the well known Microphone permission
Scenario 3: there is a song playing internally on your phone via a radio app AND you have headphones (wired/wireless) connected.
- Required permissions: this special case requires the use of AOSP's Screen Recording feature with the
Record audio > toggled ON > Device audio in order to identify a song that is played on a radio app.
And maybe there is a method of using the AOSP's Screen Recording feature in this way without capturing the screen, and only capturing the audio. That's my guess, so take it with a grain of salt.