Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
65 user(s) are online (54 user(s) are browsing Forums)

Members: 0
Guests: 65

more...
Support us!
Recent OS4 Files
OS4Depot.net





OpenAL-soft for AmigaOS
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1535
I've created a repository on github for the port I'm working on of OpenAL-soft to AmigaOS (currently the 1.18.2 version).

https://github.com/salass00/openal_lib

It is working at least insofar as that it builds without errors or warnings (I'm using gcc 6.1.0 for this) and the alloopback example seems to be working (it outputs a sine wave to the speakers using AHI).

Some more testing will still have to be done before a first binary release is made.

Edit: The alloopback example didn't test the AHI backend, instead it outputs through SDL. The altonegen example which I just enabled building of does use the AHI backend and it uncovered a bug that is now fixed.


Edited by salass00 on 2017/12/13 16:00:32
Edited by salass00 on 2017/12/13 16:01:02
   Report Go to top

Re: OpenAL-soft for AmigaOS
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1535
I just looked into why UQM crashes when using OpenAL and it seems that the reason is most likely that it's using OpenAL from an SDL thread and the fact that OpenAL uses pthread calls.

UQM could in theory be compiled using pthreads instead of SDL threads but this option fails for now because of missing <semaphore.h> (it can be worked around but it takes some work).

   Report Go to top

Re: OpenAL-soft for AmigaOS
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1861
@salass00

Is this related to the OpenAL on os4depot at all?

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: OpenAL-soft for AmigaOS
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1535
@Hans

That's an old port of openal-soft that I did years ago.

The AHI backend in this is an updated version of the one I used for 1.16.0 (not released), which in turn was an updated version of the one used in the 1.7.411 port.

Because the OpenAL-soft backend API changes between releases the AHI backend code has to change too. Also I rewrote the code for dealing with the mixer process so that it sends the kill signal using the Process ID instead so it is a bit safer.

BTW if you try to use the old link to get the openal-soft sources (http://connect.creativelabs.com/openal/default.aspx) it doesn't work because it is now hosted in a different place with source code also on github:

http://kcat.strangesoft.net/openal.html
http://github.com/kcat/openal-soft

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project