ladybird/Userland/Applications
kleines Filmröllchen f209d0491f SoundPlayer: Fix potential never-updated bars visualization
When the bars visualization receives a new buffer, it checks if it needs
a new buffer, which is only the case after it has repainted. However,
after then setting m_is_using_last, which is the flag for this, it
checks the buffer size of the passed buffer and returns if that is too
small. This means that if the visualizer receives a buffer that is too
small, and because of external circumstances the update doesn't run
after the buffer modification routine, the m_is_using_last variable is
stuck at true, which means that the visualization incorrectly believes
that the passed buffer is old and we need not update. This simply fixes
that by resetting m_is_using_last if the buffer we're passed is too
small, because in that case, we're clearly not using the last buffer
anymore.

Note: This bug is not exposed by the current SoundPlayer behavior. It
will become an issue with future changes, so we should fix it
regardless.
2022-03-02 21:41:10 +01:00
..
3DFileViewer Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
About About: Port to LibMain 2021-12-17 13:09:54 -08:00
AnalogClock Revert "Userland: Invoke tzset in apps that care about time zones" 2022-01-28 15:13:35 +00:00
Assistant Assistant+CommandPalette: Use FrameShape::Window for main widgets 2022-02-25 19:38:23 +01:00
Browser Browser: Add storage inspector to context menu 2022-03-02 18:11:17 +01:00
BrowserSettings BrowserSettings: Run gml-format on ContentFilterSettingsWidget.gml 2022-02-18 19:21:12 +01:00
Calculator Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
Calendar Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
CharacterMap LibGUI+Apps: Let Splitters select which resizee to set fixed 2022-02-23 18:56:22 +02:00
ClockSettings Meta+Userland: Run the GML formatter on CI and pre-commit 2022-02-07 18:39:50 +01:00
CrashReporter Userland: Run gml-format 2022-02-13 02:36:35 +02:00
Debugger Applications: Port Debugger to LibMain 2022-02-10 10:23:26 +00:00
DisplaySettings Userland: Rename WindowServerConnection=>ConnectionToWindowServer 2022-02-25 22:35:12 +01:00
FileManager Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
FontEditor Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
Help Help: Improve search ergonomics 2022-03-02 21:37:58 +01:00
HexEditor Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
ImageViewer Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
KeyboardMapper Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
KeyboardSettings KeyboardSettings: Highlight default keymap in Keyboard Settings dialog 2022-03-02 18:08:44 +01:00
Magnifier Userland: Rename WindowServerConnection=>ConnectionToWindowServer 2022-02-25 22:35:12 +01:00
Mail Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
MailSettings LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
MouseSettings Userland: Rename WindowServerConnection=>ConnectionToWindowServer 2022-02-25 22:35:12 +01:00
PDFViewer Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
Piano Piano: Respect logarithmic parameters in sliders 2022-02-28 13:59:31 +01:00
PixelPaint Everywhere: Make JSON serialization fallible 2022-02-27 20:37:57 +01:00
Run Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
Settings Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
SoundPlayer SoundPlayer: Fix potential never-updated bars visualization 2022-03-02 21:41:10 +01:00
SpaceAnalyzer Applications: Change static constexpr variables to constexpr 2022-02-28 13:54:27 +01:00
Spreadsheet Spreadsheet: Make Range(s).forEach() return Position objects 2022-03-02 21:49:17 +03:30
SystemMonitor SystemMonitor: Add missing /boot/Kernel.debug unveil 2022-02-21 23:30:46 +02:00
Terminal LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
TerminalSettings Userland: Rename WindowServerConnection=>ConnectionToWindowServer 2022-02-25 22:35:12 +01:00
TextEditor TextEditor: Save wrapping mode settings 2022-02-26 22:54:25 +01:00
ThemeEditor LibCore+Everywhere: Return ErrorOr from ConfigFile::sync() 2022-02-16 19:49:41 -05:00
VideoPlayer Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
Welcome Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
CMakeLists.txt ClockSettings: Add a GUI application to set the system time zone 2022-01-23 12:48:26 +00:00