When I was shopping in Shanghai, I suddenly thought of this chapter... recently I want to write a few articles about audio playback.ArticleSo when I got home, I wrote a quick post and published it.
If your applicationProgramIf you have the ability to play audio, you must enable your users to stop controlling it effectively. In order for users to have a better experience, your application should ensure that multiple applications cannot play audio at the same time (this can be decided based on different applications to stop playing separately ).
Through this article, you can play the audio with the real play button, which should be used by the system or application. Practical advantages:
1. real-world audio volume control and replay.
2. Control the sequence of the audio to be played in the future and that of other applications.
3. hardware used to control audio playback and output. Including audio playback and in-ear output.
The article ends with sharing with you some comments of the programmer's joke: the programmer's drinking
I occasionally adopt "Trojan strategy" and "cross-test". In a short period of time, I began to "frequently allocate and release resources". "cache" is also inevitable,
However, I never conduct "round patrols", nor "catch exceptions", nor "program exceptions", because I have a rational
Restrained.