Any derelict fmod users on Linux out there?
WhatMeWorry
kheaser at gmail.com
Thu Dec 7 22:57:20 UTC 2017
I've tried debugging this for hours to no avail. It works on
Windows and Mac fine. But I'm running Antergos Linux (very much
like Arch) and it keeps failing at the System Init line. The code
is pretty much a copy of the example of derelict fmod on github.
I have no idea what the "bindings" number below refers to?
======================= Code snippet
==================================
auto res = FMOD_System_Create(&fmod); // works
printVersion();
printDrivers();
FMOD_RESULT res2 = FMOD_System_Init(fmod, 32, FMOD_INIT_NORMAL,
null);
checkForErrors(res2, "After call to FMOD_System_Init", true);
======================= Output
=========================================
FMOD library loaded
fmod version: 69633 (bindings: 67335)
fmod drivers: 1
fmod driver [0]: (48000,3,2,'Built-in Audio Analog Stereo')
i = 0
sampleRate = 48000
speakermode = 3
speakermodeChannels = 2
name = Built-in Audio Analog Stereo
FMOD error An error occurred that wasn't supposed to. Contact
support.
My run time libraries consist of the very latest from the fmod
web site.
libfmod.so
libfmod.so.10
libfmod.so.10.1
libmodstudio.so
libmodstudio.so.10
libmodstudio.so.10.1
More information about the Digitalmars-d-learn
mailing list