Skip to content

Instantly share code, notes, and snippets.

// build with: x86_64-w64-mingw32-gcc -o rez_xaudio_test.exe rez_xaudio_test.c -lole32
#include <stdio.h>
#define COBJMACROS
#include <initguid.h>
#include <windows.h>
#include <xaudio2.h>
#include <xaudio2fx.h>
#include <xapofx.h>
@mrpippy
mrpippy / gist:3edad985fd515c2d9d71e4cc8cac1261
Created October 9, 2020 22:41
Rez Infinite FAudio assertion
14562.848:00e8:00ec:trace:xaudio2:DllMain Using FAudio version 200900
14562.848:00e8:00ec:trace:xaudio2:DllGetClassObject ({5a508685-a254-4fba-9b82-9a24b00306af}, {00000001-0000-0000-c000-000000000046}, 0x21ea88)
14562.848:00e8:00ec:trace:xaudio2:XAudio2CF_AddRef (0x410e6eb0)->(): Refcount now 1
14562.848:00e8:00ec:trace:xaudio2:XAudio2CF_CreateInstance (0x410e6eb0)->((nil),{8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb},0x21ea80)
INFO: API Enter: FAudio_SetDebugConfiguration
INFO: API Exit: FAudio_SetDebugConfiguration
INFO: API Enter: FAudio_RegisterForCallbacks
INFO: API Exit: FAudio_RegisterForCallbacks
INFO: API Enter: FAudio_SetDebugConfiguration
INFO: API Exit: FAudio_SetDebugConfiguration
@mrpippy
mrpippy / # graphviz - 2018-10-31_12-19-56.txt
Created October 31, 2018 19:26
graphviz on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for graphviz on macOS 10.13.6
Build date: 2018-10-31 12:19:56
PLEASE READ ME FIRST
Here's the scoop on the 1991 Apple Worldwide Developers Conference Presentation CD!
As last year, this CD was produced as a vehicle for distributing presentations to all attendees of the conference. In addition to the presentations, we have also included supporting information provided by our speakers, the conference attendee list, and a list of the Developers who participated in the System 7 Developer Showcase.
You may notice that there are a few presentations which are missing due the the nature or sensitivity of the information contained in them. For your convenience, we've listed those presentations below.
Before you get started, please note that the presentations contained here were created using a number of Large Screen Fonts. These fonts are provided for you on the CD, in the "Applications & Fonts" folder. We recommend that you install these fonts onto your system before viewing the presentations.
@mrpippy
mrpippy / gist:d3ca854ad2c5e4fe01861f0f2a241486
Created April 25, 2017 05:13
mgba patch to build on Leopard with gcc 4.2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04a4f1c..3a49def 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.6)
project(mGBA C)
set(BINARY_NAME mgba CACHE INTERNAL "Name of output binaries")
if(NOT MSVC)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-missing-field-initializers -std=c99")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-missing-field-initializers -std=gnu99")