1. 27 Nov, 2019 4 commits
    • Fix audio processor draining for reconfiguration · d30b0285
      When transitioning to a new stream in a different format, the audio
      processors are reconfigured. After this, they are drained and then
      flushed so that they are ready to handle data in updated formats for the
      new stream.
      
      Before this change, some audio processors made the assumption that after
      reconfiguration no more input would be queued in their old input format,
      but this assumption is not correct: during draining more input may be
      queued. Fix this behavior so that the new configuration is not referred
      to while draining and only becomes active once flushed.
      
      Issue: #6601
      PiperOrigin-RevId: 282515359
      andrewlewis committed
    • Remove redundant flush() calls from AudioProcessors · b9f79b40
      flush() is guaranteed to be called in all these cases anyway.
      
      Also clarify documentation for AudioProcessor-specific methods that can
      change the 'active' flag.
      
      Issue: #6601
      PiperOrigin-RevId: 282515255
      andrewlewis committed
    • Add AudioProcessor.AudioFormat · 07b3cbc3
      Issue: #6601
      PiperOrigin-RevId: 282515179
      andrewlewis committed
    • Always drain/flush AudioProcessors after configuration · a2b3ad86
      This simplifies the contract of configure and is in preparation for
      fixing a bug where more input can't be queued when draining audio
      processors for a configuration change.
      
      Issue: #6601
      PiperOrigin-RevId: 282514367
      andrewlewis committed
  2. 24 Nov, 2019 1 commit
  3. 22 Nov, 2019 14 commits
  4. 19 Nov, 2019 12 commits
  5. 18 Nov, 2019 4 commits
  6. 17 Nov, 2019 3 commits
  7. 15 Nov, 2019 2 commits