tir38 / ADBX

ADB extensions
2 stars 0 forks source link

Fix verbose output when diabling system audio #60

Open tir38 opened 2 years ago

tir38 commented 2 years ago

In #21 we try to turn down audio many times to ensure we reached fully disabled

However if an audio channel does not exist, then ADB will return

/system/bin/sh: media: inaccessible or not found

This gets printed 20 times per missing channel. It would be nice if we only printed this once.

I think I can do this with capture3 which also captures std_error