www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Any derelict fmod users on Linux out there?

reply WhatMeWorry <kheaser gmail.com> writes:
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
Dec 07 2017
parent Mike Parker <aldacron gmail.com> writes:
On Thursday, 7 December 2017 at 22:57:20 UTC, WhatMeWorry wrote:
 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?
My guess it's the result of this pull: https://github.com/Extrawurst/DerelictFmod/pull/3 Though, I would expect it to break on Mac as well.
Dec 07 2017