1. 01 Aug, 2011 1 commit
    • Rémi Denis-Courmont's avatar
      aout: add an optional flush/drain callback · cba93daf
      Rémi Denis-Courmont authored
      Audio output plugins can use this to expedite discarding pending
      buffers. This reduces latency upon seeking or stopping the input.
      
      This new callback also supports explicit draining, but this is not
      used for the time being.
      cba93daf
  2. 25 Jul, 2011 4 commits
  3. 20 Jul, 2011 1 commit
    • Rémi Denis-Courmont's avatar
      Change audio output tolerance times · ef4280c5
      Rémi Denis-Courmont authored
      Maximum buffering time (AOUT_MAX_PREPARE_TIME) is increased to 2
      seconds, consistent with increases in audio hardware buffer sizes.
      In practice however, this is bound to the input PTS delay.
      
      Maximum advance time is updated accordingly (+ 1 second).
      
      Lip desynchronization tolerance is segregated, following EBU R37:
       - 40 ms (as before) maximum audio advance
       - 60 ms maximum audio delay.
      ef4280c5
  4. 18 Jul, 2011 1 commit
  5. 16 Jul, 2011 1 commit
  6. 08 Jul, 2011 2 commits
    • Rémi Denis-Courmont's avatar
      Merge all audio output locks except volume control · 41d30c6a
      Rémi Denis-Courmont authored
      With only one input per output, the lock is only useful:
       - to restart the audio instance (needed 3 out of 4 locks anyway),
       - to propagate volume change to the mixer or output plugin,
       - to access the FIFO from the output plugin thread (if applicable).
      
      So 4 fine-grained was over-engineering. Most importantly, the locking
      scheme was overly complicated and generally misunderstood/misused. Also
      to avoid lock inversion, some unlocking/relocking sequences were
      introduced; they broke atomicity.
      
      We could certainly reduce the scope of the remaining lock. Since we
      have one only input per output, most of the code is only ever run from
      the decoder thread. Thus reentrancy is not anymore needed in some
      places. But first aout_Restart() needs to be fixed and simplified.
      41d30c6a
    • Rémi Denis-Courmont's avatar
      Add pause callback for audio output (aout_output_t.pf_pause) · 1d7fcd8c
      Rémi Denis-Courmont authored
      This is required for PulseAudio synchronization and to pause/resume
      with low-latency. This should also be useful for other buffered
       audio outputs such as ALSA or CoreAudio.
      1d7fcd8c
  7. 07 Jun, 2011 1 commit
  8. 31 May, 2011 1 commit
  9. 30 May, 2011 6 commits
  10. 07 May, 2011 2 commits
  11. 13 Apr, 2011 1 commit
  12. 07 Apr, 2011 5 commits
  13. 22 Oct, 2010 1 commit
    • Rémi Denis-Courmont's avatar
      Remove aout_FindAndRestart() · 4d63bf16
      Rémi Denis-Courmont authored
      This was only used to change the OSS or ALSA device on the fly.
      However, this really should be done with a variable callback, not from
      the configuration.
      4d63bf16
  14. 05 Jul, 2010 1 commit
  15. 26 Feb, 2010 1 commit
  16. 07 Feb, 2010 1 commit
  17. 10 Jan, 2010 2 commits
  18. 03 Dec, 2009 1 commit
  19. 27 Sep, 2009 4 commits
  20. 23 Sep, 2009 3 commits