我对Linux和Linux上的编程是非常陌生的。我正在尝试在ubuntu上安装OpenAL SDK ...我最好的猜测是,我需要从CVS repo下载OpenAL。我找到了一个教程:
但是,当我尝试运行终端命令时,会发生以下情况:
steven@ubuntu:~$ cvs -d:pserver:guest@opensource.creative.com:/usr/local/cvs-repository login
Logging in to :pserver:guest@opensource.creative.com:2401/usr/local/cvs-repository
CVS pas
我正在尝试测试Kotlin游戏引擎名为。我下载了默认的"Hello!“模板直接从他们的。下载后,我用IDEA从现有文件创建了一个新项目,并尝试运行gradle的脚本"runNativeDebug“。
我现在在管理曼吉罗
uname -a
Linux lifeordeath-pc 4.19.45-1-MANJARO #1 SMP PREEMPT Wed May 22 17:16:41 UTC 2019 x86_64 GNU/Linux
我试过从AUR仓库下载openal,lib32 32-openal和freeglut。确实安装了库,如下所示
ls /usr/lib | grep
我试着用Python做一些模拟3D声音的工作。我尝试运行以下代码(在答案中提供):和类似的代码,两次都会收到:
ModuleNotFoundError: No module named 'openal.audio'
我已经安装了OpenAL,PyAL,并尝试安装一个旧版本(卸载并重新安装新版本),但它仍然不能工作。
我还尝试了以下代码:
from openal import *
class AudioSource:
def __init__(self, path_to_file):
self.src = oalOpen(path_to_file)
当我安装warzone2100 0.2.2时,我得到了以下内容
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane
我有一个用Java编写的应用程序,我需要在其中播放音频。我使用OpenAL (带有java-openal库)来完成这项任务,但是我想使用OpenAL不直接支持的WSOLA。我发现了一个很好的java原生库,叫做TarsosDSP,它支持WSOLA。
该库使用标准Java API进行音频输出。在SourceDataLine设置过程中出现问题:
IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_UNSIGNED 16000.0 Hz, 16 bit, mono, 2 b
我一直在做这个平台快板5的测试,稍后我会把它变成一个游戏。直到现在,Allegro的每个附加组件都运行得很好,当我尝试使用音频播放我在Audacity中制作的.ogg文件时。我使用的是MinGW版本,并静态地将所有内容与Code::块链接起来。它只有一个文件,main.cpp:
#include <stdio.h> // Good library to always have on hand
#include <math.h> // C++ math l
我得到了这个错误:
Expected '(' for function-style cast or type construction
在第二行:
struct OpenALInterface * CreateOpenALInterface(int numLoadedSounds, int numPlayingSounds){
return new IOS_OpenAL(int numLoadedSounds, int numPlayingSounds); //ERROR ABOVE
// return new IOS_OpenAL(); //this wo