1. 22 Aug, 2018 6 commits
  2. 21 Aug, 2018 4 commits
  3. 20 Aug, 2018 1 commit
  4. 17 Aug, 2018 3 commits
  5. 16 Aug, 2018 4 commits
  6. 15 Aug, 2018 2 commits
    • Hugo Lefeuvre's avatar
      audio_rtp_session: code cleanup · 27166567
      Hugo Lefeuvre authored
      Use const std::chrono::milliseconds type for secondsPerPaket_
      instead of defining seconds =
      std::chrono::duration<double, std::ratio<1>>. That way we avoid some
      useless casts later.
      Change type of sent_samples to uint64_t: unsigned is kind of small for
      this usage and getNextTimestamps expects seq of type uint64_t.
      Simplify code in readFunction() and process().
      Change-Id: I6ac7fd1b4553cfe5982a3d05a6467b8085f758a4
      Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
    • Hugo Lefeuvre's avatar
      threadloop: remove EXIT_IF_FAIL macro · f5257847
      Hugo Lefeuvre authored
      EXIT_IF_FAIL was meant to replace
      if (!(A)) {
      but it is not very readable. Also, loop_.exit() throws an exception
      where setup functions calling EXIT_IF_FAIL could simply return
      false. Throwing an exception has a higher overhead and leads to less
      readable debug output (+ throwing exceptions should never be the
      standard way to exit the normal control flow).
      This patch
      - removes the EXIT_IF_FAIL macro
      - replaces code from audio_rtp_session and video_receive_thread which
        was using this macro
      - Adds stop() call at the end of ThreadLoop::mainloop. At this point
        the thread loop is obviously not executing anymore.
      Change-Id: Id1ed8eb914e91686a63775eba3ad70f8b6143ae5
      Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
  7. 14 Aug, 2018 1 commit
  8. 13 Aug, 2018 4 commits
  9. 10 Aug, 2018 2 commits
  10. 09 Aug, 2018 1 commit
  11. 08 Aug, 2018 2 commits
    • Philippe Gorley's avatar
      ffmpeg: add libswresample check · 8a1d9e27
      Philippe Gorley authored
      Adds libswresample to the package check. Namely, we don't want to use
      libavresample, which has a different API. The latter exists solely for
      compatibility with Libav.
      Change-Id: I717975c696e2de2787be98cac07862215095b667
    • Philippe Gorley's avatar
      audio: refactor resampler class · 20b631fb
      Philippe Gorley authored
      Using MediaFilter would make the resampling time longer and more
      unpredictable than directly using libswresample.
      Adds libswresample as a dependency.
      Simplifies Resampler class.
      Resampler detects changes in input and output formats automatically.
      Changes Audiofile to use Resampler instead of MediaFilter.
      Change-Id: I24919e8fa514dbb4a38408e338016976e7424136
  12. 07 Aug, 2018 2 commits
  13. 06 Aug, 2018 2 commits
  14. 03 Aug, 2018 5 commits
  15. 02 Aug, 2018 1 commit
    • Philippe Gorley's avatar
      audio: remove sndfile dependency · 834e835d
      Philippe Gorley authored
      Removes unused/deprecated audiorecord/audiorecorder
      Allows any file to be used as a ringtone (mp3, ogg, etc)
      Change-Id: I9ce33ec3d5f083caf098266befa597e78a95d7d6