can coders code any custom function they like?

676 views

For all the different coders, programmers etc out there. Let’s say you have a computer or phone and you want to make some custom functions. For example, for devices which don’t have something like Samsung’s Sound Assistant and you wanted to play an app through a separate speaker than the rest of the apps, can you program a function like this? A use for this may be to play music through a speaker but have all other app audio play through the device speaker as to not disrupt the music.

In: Technology

7 Answers

Anonymous 0 Comments

>[in a phone] you wanted to play an app through a separate speaker than the rest of the apps,

That would depend how much control the OS gives the programs executing on it. For android at least, yes, you can simply choose where to send your audio signal. Easy.

If you wanted to write something that decided how OTHER software chose what output to use, that might be restricted. Interfacing with the OS like that or developing your own audio driver to handle how other software’s audio chooses where to go would be more involved. In general, people don’t like giving little apps the keys to the kingdom. It’s too easy to make that into some really nasty malware.

It’s very possible on a linux phone like LineageOS or something. It’s probably possible on Android (which has been removing free software portions over the years and getting more locked down). And I don’t think you have any prayer of doing it on Apple.

You are viewing 1 out of 7 answers, click here to view all answers.