Display color output with C/C++ in the Windows terminal (fixing printed escape characters)
Making ANSI escape colors work in the Windows console from C/C++ with ENABLE_VIRTUAL_TERMINAL_PROCESSING, instead of printing raw escape characters.
11 articles on systems programming, embedded platforms and multimedia — mostly write-ups of problems that cost me a day and shouldn't cost you one.
Making ANSI escape colors work in the Windows console from C/C++ with ENABLE_VIRTUAL_TERMINAL_PROCESSING, instead of printing raw escape characters.
A full bring-up log of a custom AmLogic s805x (GXL) board: U-Boot, kernel and DTB, USB burning tool, HDMI, audio, Ethernet, I2C RTC and power measurements.
What the Android NDK error "C_INCLUDES must be under the source or output directories" actually means and how to fix LOCAL_C_INCLUDES paths.
Linking MinGW binaries fully statically with CMake to drop the libgcc_s_seh-1.dll and libstdc++-6.dll runtime dependencies from your Windows build.
Detecting CPU architecture (x86, x86_64, ARM, ARM64) at compile time with portable C/C++ preprocessor macros across GCC, Clang and MSVC.
Fixing the _ZSt28__throw_bad_array_new_lengthv linker error on MinGW - how a libstdc++ version mismatch happens and how to verify your toolchain.
GStreamer from C/C++: building H264/MP4 decode pipelines, gst-launch-1.0 basics, appsink/appsrc buffer manipulation and camera capture.
Decoding AAC on Android with the NDK AMediaCodec API: SoftAAC2 internals, ADTS header alignment and why the decoder drops your first frames.
A small WinAPI trick in C++ to send a Ctrl+C (or any key combination) to an arbitrary Windows window found by its process ID.
How to set up two-way IPC between Electron's main and renderer processes: ipcMain, ipcRenderer, webContents.send and synchronous vs asynchronous replies.
First post on the rebooted blog of Alexey Kasyanchuk (DEgITx) - notes on C/C++, Android, embedded Linux, multimedia and audio engineering.