baidwwy
baidwwy
显示下面 Exception in thread Thread-26: Traceback (most recent call last): File "./python3.3/threading.py", line 901, in _bootstrap_inner File "./python3.3/threading.py", line 858, in run File "./python3.3/subprocess.py", line 1169, in _readerthread UnicodeDecodeError: 'gbk'...
类似libhv https://github.com/ithewei/libhv/wiki/%E4%B8%AD%E6%96%87FAQ#q-tcp%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86%E7%B2%98%E5%8C%85%E4%B8%8E%E5%88%86%E5%8C%85
https://github.com/libsdl-org/SDL_mixer/blob/6845d9f3cb3f35542f1ec7e74dba6b30bf968959/src/mixer.c#L550 for example ~~music_type = detect_music_type(src);~~ interface->Checktype(src); https://github.com/libsdl-org/SDL_mixer/issues/332
Add length support instead of the entire file https://github.com/libsdl-org/SDL_mixer/blob/4d2fec78b8deca24ce6c7f7a9e3725cf31f75896/src/codecs/mp3utils.c#L40 pack{ 1.mp3 2.mp3 3.mp3 } SDL_RWseek(2.mp3) It won’t stop after playing 2.mp3 Sorry, I do not speak English, this is from...
define SDL_DISABLE_WINDOWS_IME Should be irrelevant SDL_SetTextInputRect https://github.com/libsdl-org/SDL/blob/c83329481760b9f587e2cf3482e8590339852db9/src/video/windows/SDL_windowskeyboard.c#L257-L287 sorry i don't speak english, here is google translate
https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences ```c bool EnableVTMode() { // Set output mode to handle virtual terminal sequences HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE); if (hOut == INVALID_HANDLE_VALUE) { return false; } DWORD dwMode = 0;...
SDL_CreateTextureFromSurface to SDL_TEXTUREACCESS_STREAMING
```diff +SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight"); +window = SDL_CreateWindow(NULL, 0, 0, 320, 480, SDL_WINDOW_FULLSCREEN | SDL_WINDOW_ALLOW_HIGHDPI|SDL_WINDOW_HIDDEN); -window = SDL_CreateWindow(NULL, 0, 0, 320, 480, SDL_WINDOW_FULLSCREEN | SDL_WINDOW_ALLOW_HIGHDPI); renderer = SDL_CreateRenderer(window, -1, 0); SDL_GetWindowSize(window,...
现在的http自己还要了解WS协议,不符合HP简单易用风格。
https://quut.com/gsm/ https://github.com/libsndfile/libsndfile/blob/3bd5048f8c2f7285743e9922c195c7a08f3f5551/include/sndfile.h#L93