Fixed AudioFlinger not always pausing tracks

If the pause request is received before the AudioTrack buffer was
completelly filled and the track ready for mixing, the pause is
not executed: the track just underruns and stays in pausing state.

The fix consists in considering the track ready for mixing immediately
if pausing.

Change-Id: Ia6cb4703fee2126e41011a6400ea8eeb3a3e5456
1 file changed
tree: 6a7eacbbcc46026be5fa06535c80e3de357c4e79
  1. camera/
  2. cmds/
  3. include/
  4. media/
  5. services/