summaryrefslogtreecommitdiff
path: root/src/wx/audio_plot.cc
AgeCommit message (Collapse)Author
2025-09-02Untested conversion to num/den DCPTime.arbitrary-hzCarl Hetherington
Summary of required changes: Replace ::from_frames with a constructor that takes num/den. Provide and use member to_debug_string() instead of to_string(). Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor. Provide and use content_time() member instead of ContentTime constructor from DCPTime. Use frames_round(96000) instead of get() when comparing times to see if they are "close enough". Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime. Use .seconds() when calculating proportions or sometimes when dividing by HZ. Provide and use operator bool(). Pass explicit 96000 denominator in a lot of places. Add member max() and use it instead of static max() Change BOOST_CHECK_EQUAL to BOOST_CHECK Provide operator/ and use it instead of .get() / 2.
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2024-09-03Remove use of wxT in favour of char_to_wx().Carl Hetherington
The wxWidgets docs advise against its use these days.
2022-12-10Extract constants.hCarl Hetherington
2022-10-18Fix colouring of audio plot in dark mode.Carl Hetherington
2022-10-14Cleanup: use simpler ownership for FilmViewer.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-04-21Disable warnings around all wx includes.Carl Hetherington
2022-04-21Tidying.Carl Hetherington
2022-04-04Cleanup: move some methods from util to maths_util.Carl Hetherington
2021-05-07Fix build with some older compilers.Carl Hetherington
2021-04-21Only snap the crosshair to visible plots.Carl Hetherington
2021-04-16Use anti-aliasing in the audio level plot.Carl Hetherington
2021-04-16C++11 tidying.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-11Fix lots of macOS warnings by using a different boost/bind include.Carl Hetherington
2020-10-21macOS / new boost build fixes.v2.15.104Carl Hetherington
2020-07-29Fix memory leak which also causes strange flickering in the audioCarl Hetherington
analysis window while the analysis is running.
2020-05-17Clicking on the audio graph jumps to that position in the film (#1507).Carl Hetherington
2020-02-27Add and use dB/linear conversion functions.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2018-03-27Missing #include for some platforms.Carl Hetherington
2018-03-26Add real-time mouse cursor readout in audio analysis (rest of #1082).Carl Hetherington
2018-03-26Bump audio analysis file version and cache drawn points in the audio plot.Carl Hetherington
2018-03-26Add time axis to audio analysis (part of #1082).Carl Hetherington
2017-10-13Colour axis labels in the audio plot (#835).Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2015-11-13Fix audio plot after MAX_DCP_AUDIO_CHANNELS increase.Carl Hetherington
2015-08-18Include tidying.Carl Hetherington
2015-07-01Restore short-cutting of analysis gain updates.Carl Hetherington
If we have an analysis of one piece of content and the gain changes we don't re-run the analysis, instead applying a suitable `correction' in the UI.
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-03Make show audio work on the whole DCP, not individual content.Carl Hetherington
2015-01-28Small fixes and tidy-ups spotted by cppcheck.Carl Hetherington
2014-10-08Simplify (maybe) wxPen use to see if it helps with OS X crashes (at ↵Carl Hetherington
src/osx/carbon/graphics.cpp:143).
2014-06-03Update audio plot window when audio mapping is changed.Carl Hetherington
2014-05-09MAX_AUDIO_CHANNELS -> MAX_DCP_AUDIO_CHANNELS.Carl Hetherington
2014-03-05Bump maximum audio channels to 12 so that we can (crudely) useCarl Hetherington
BsL/BsR. Requested-by: Markus Raab
2014-02-26Fix missing RMS plots in some cases (caused by plotting #infCarl Hetherington
coordinates). Reported-by: Markus Raab
2014-02-26Fix audio analysis crash introduced when increasing MAX_AUDIO_CHANNELS.Carl Hetherington
2014-02-05Fix some coverity-reported stuff.Carl Hetherington
2013-11-16Fix erroneous reset of visible channels in audio level dialog when changing ↵Carl Hetherington
gain.
2013-07-26Remove old Connect() wxWidgets API and use Bind().Carl Hetherington
2013-07-25Prevent infinite loop of audio analysis if it is cancelled.Carl Hetherington
2013-07-17tabs -> spaces.Carl Hetherington
2013-07-11Remove wx2.8 compatibility stuff.Carl Hetherington
2013-06-20Various fixes to make audio analysis sort-of work.Carl Hetherington
2013-06-02Merge master.Carl Hetherington
2013-05-29Build fixes for OS X.Carl Hetherington