[mythtv-commits] [MythTV/mythtv] c7cd42: C++17: audioconvert.cpp: use std::clamp

Scott Theisen noreply at github.com
Wed Mar 23 18:47:50 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: c7cd42e382063ad5d17f141efa5438c02ffa7ecd
      https://github.com/MythTV/mythtv/commit/c7cd42e382063ad5d17f141efa5438c02ffa7ecd
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audioconvert.cpp

  Log Message:
  -----------
  C++17: audioconvert.cpp: use std::clamp


  Commit: e143450788ede7542290314b463b111322c5ea1f
      https://github.com/MythTV/mythtv/commit/e143450788ede7542290314b463b111322c5ea1f
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audioconvert.cpp

  Log Message:
  -----------
  audioconvert.cpp: reorder headers


  Commit: 7ec36790619e708c12fbf3f7c553dafe0e489a51
      https://github.com/MythTV/mythtv/commit/7ec36790619e708c12fbf3f7c553dafe0e489a51
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audioconvert.cpp

  Log Message:
  -----------
  audioconvert.cpp: remove definition of lrint()

standardized in C99/C++11

Also, remove the now unused include and the unused define.


  Commit: 49e8a0487022fc7531a9ef14386585575c99a251
      https://github.com/MythTV/mythtv/commit/49e8a0487022fc7531a9ef14386585575c99a251
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audioconvert.cpp

  Log Message:
  -----------
  audioconvert.cpp: replace uchar with uint8_t

which the code implies is the width of uchar.

Also, remove unused include and macro.


  Commit: a7b53372b3c59c94bca661d1cdfc6eff47d7fdc4
      https://github.com/MythTV/mythtv/commit/a7b53372b3c59c94bca661d1cdfc6eff47d7fdc4
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutpututil.cpp

  Log Message:
  -----------
  audiooutpututil.cpp: replace uchar with uint8_t


  Commit: 1f46c757c69a0d2085a185e1460ce31e949c92c0
      https://github.com/MythTV/mythtv/commit/1f46c757c69a0d2085a185e1460ce31e949c92c0
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutpututil.cpp

  Log Message:
  -----------
  audiooutpututil.cpp: remove unused include and define


Compare: https://github.com/MythTV/mythtv/compare/3bfe35354b6d...1f46c757c69a


More information about the mythtv-commits mailing list