This may fix connectivity issues where the internal kernel device changes after it's unmanaged in NetworkManager and/or the backend is changed from iwd to wpa_supplicant
* optimizations
* Update menu_game.h
* try new code
* use cached EGLImages
* try drm cache on pi
* nani?
* huh?
* require opengl egl
* find EGL
* find EGL separately
* logging
* add support for versions of ffmpeg less than 6.0
* disable drm cache for now
* Update ui_sdl.c
* use old code for now
* disable avcc hdr for now
* restore error message
* try disabling format modifiers?
* tell me what the layer is
* pi decoder actually produces frames in yuv420p
* print more debug info
* try this
* switch to faster decode path
* switch to old code
* Update ui_sdl.c
* add more timing profiling
* more printing
* enable some optimizations
* draw menus when not in game mode
* call render present
* Update ui_sdl.c
* Update ui_sdl.c
* remove unused code
* Update CMakeLists.txt
* incorporate direct DRM code
* Update CMakeLists.txt
* free drm context and test old decoding code
* move SDL event loop to separate thread so controls are not limited by display rate
* add a wait to reduce CPU thrashing
* fix double free
* separate video into recv and consume threads
* Update ui_sdl_drm.c
* Update ui_sdl_drm.c
* Update gamepad.c
* further optimizations
* anti-alias buttons more
* fix some compiler errors
* only include DRM on linux
* fix windows compile issues
* fix includes
* Update CMakeLists.txt
* add htobe32 define for macOS
* Update video.c
* Update gamepad.c
* microphone initial work
* implement dumping functionality
Allows us to dump packets from the console for replay later on
* implement dump playback functionality
* pipe: when using playback, don't require wireless adapter
* move dump functionality to pipe
* started caramel library for interfacing with real gamepad
* finalized microphone implementation
* cleanup
* cleanup 2
* cleanup 3
* cleanup 4
* fixed more issues
* use initializers so mutex and cond are always valid
* rewrite audio output system to improve latency
* fix indent
* provide capability for audio to be enabled/disabled based on state
* fix android builds