1. 05 Sep, 2011 1 commit
  2. 10 Aug, 2011 4 commits
  3. 09 Aug, 2011 3 commits
  4. 08 Aug, 2011 2 commits
  5. 06 Aug, 2011 6 commits
  6. 04 Aug, 2011 5 commits
  7. 03 Aug, 2011 1 commit
  8. 02 Aug, 2011 6 commits
  9. 01 Aug, 2011 4 commits
  10. 26 Jul, 2011 2 commits
  11. 25 Jul, 2011 3 commits
  12. 11 Jul, 2011 1 commit
  13. 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