Commit Graph

9 Commits

Author SHA1 Message Date
Isaac Connor
ced709b63c fix: correct error message and add null check in FifoStream
- Fix misleading error message: "reading" -> "writing" in sendMJEGFrames
- Add null check for monitor after Monitor::Load to prevent crash
  if monitor doesn't exist

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 11:36:53 -05:00
Aaron Kling
c4683d90a9 Format code using astyle google format
Commands used:
astyle --style=google --indent=spaces=2 --keep-one-line-blocks src/*.cpp
astyle --style=google --indent=spaces=2 --keep-one-line-blocks src/*.h
2024-03-26 13:43:58 -05:00
Isaac Connor
4805064d61 Remove always false condition 2022-07-14 10:02:58 -04:00
Isaac Connor
7101a70774 Switch to steady_clock 2021-12-16 16:35:42 -05:00
Peter Keresztes Schmidt
80b08a2075 Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
Peter Keresztes Schmidt
e1fe53338c BaseStream: Convert internals to std::chrono 2021-06-13 11:29:59 +02:00
Isaac Connor
2679b3a51a fix use of %d when %u is wanted 2021-04-20 11:07:22 -04:00
Peter Keresztes Schmidt
d9568a98c0 Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
Isaac Connor
1d73087e5b Split zm_fifo up into zm_fifo, zm_fifo_debug and zm_fifo_stream. Implement a Fifo class to keep the filehandle open. 2021-03-01 16:47:18 -05:00