1. 11 Jul, 2011 18 commits
  2. 10 Jul, 2011 14 commits
  3. 09 Jul, 2011 5 commits
  4. 08 Jul, 2011 3 commits
    • Rémi Denis-Courmont's avatar
      Mix 16-bits PCM instead of fixed-point if input is 16-bits or less · bfe9c3c7
      Rémi Denis-Courmont authored
      Audio output should be more efficient on FPU-less devices.
      Firstly the mixer should be faster with 16-bits instead of 32.
      Secondly FPU-less systems usually output at 16-bits, so one sample
      format conversion between the mixer and the output is now avoided.
      Thirdly conversion from input format to the mixer format should
      similarly be completely avoided or at least accelerated.
    • 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.
    • 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.