Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 4.9.17 released

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Allegro 4.9.17 released
kenmasters1976
Member #8,794
July 2007

SiegeLord said:

Can someone who didn't have this bug use those last two dll's and see what happens? If it doesn't break things for those people I'll commit the changes to SVN.

Both dll's give a correct output for ex_ttf on my machine.

SiegeLord
Member #7,827
October 2006
avatar

Great, thanks. The changes are now in the SVN.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Slartibartfast
Member #8,789
June 2007
avatar

Slartibartfast said:

Curiously enough, I still get crappy sound in all of the audio example except ex_stream_seek, what could be causing this?

PulseAudio being crappy.

Well, the "curiously enough" part refers to ex_stream_seek working fine. And would PulseAudio being crappy matter if I'm using alsa? (seeing as how I couldn't even get PulseAudio support compiled :S)

Edit: forgot to say good job for your work on Allegro

Elias
Member #358
May 2000

When you use PulseAudio it takes over all sound. That is in a recent Ubuntu, even if you use Alsa, it is routed through PA. You can check it by clicking the PA volume icon. It will have a volume slider for each application currently playing sounds, including those using Alsa - for those it says something like "ALSA plug-in [application name]" instead of just "application name".

It also seems possible to fix the lag issue application-wise. For example in LMMS, I can choose alsa, pulseaudio and SDL for sound output.

If I select Alsa, LMMS simply crashes. Apparently it uses Alsa in a way which does only work with real ALSA, and not the pulseaudio ALSA emulation.

If I select pulseaudio, it works, but the sound is delayed by half to a full second. Makes it completely unusable of course.

If I select SDL, it works perfectly. No noticeable delay, and no audio noise even with the smallest possible buffer size. But it still is routed through PA - seems the SDL devs managed to make their audio API somehow trick PA into dropping it's forced half-second delay. Question is just how did they do it.

--
"Either help out or stop whining" - Evert

Dario ff
Member #10,065
August 2008
avatar

Just wanted to say thanks to the Allegro devs, everything is worked as expected after solving the little problem with the d3d clipping. Everything's working great so far.

TranslatorHack 2010, a human translation chain in a.cc.
My games: [GiftCraft] - [Blocky Rhythm[SH2011]] - [Elven Revolution] - [Dune Smasher!]

Slartibartfast
Member #8,789
June 2007
avatar

Elias said:

When you use PulseAudio it takes over all sound. That is in a recent Ubuntu, even if you use Alsa, it is routed through PA.

Oh, okay. Lame.

Quote:

If I select SDL, it works perfectly. No noticeable delay, and no audio noise even with the smallest possible buffer size. But it still is routed through PA - seems the SDL devs managed to make their audio API somehow trick PA into dropping it's forced half-second delay. Question is just how did they do it.

Considering how in my case, all sound examples fail to produce proper sound except for ex_stream_seek, maybe there is some hidden solution to that problem in the case of ex_stream_seek?

Karadoc ~~
Member #2,749
September 2002
avatar

<edit>
Never mind.. my problem was just that I didn't realise allegro 4.9 required a different directX sdk to allegro 4.4. I downloaded this and it fixed the problem. (I'm just leaving my original message in case it helps someone else)
</edit>

I just downloaded the latest version of the 4.9 branch on svn. It had compile errors, so I reverted to version 12922 (for which the comment was "bumped to 4.9.17", so I assume it's the version you're talking about here) - but that had the same errors.

Here's a copy-paste of the first few compile problems:

C:\Programming\allegro5\src\win\wjoydxnu.c: In function `joystick_dinput_acquire':
C:\Programming\allegro5\src\win\wjoydxnu.c:271: warning: implicit declaration of function `IDirectInputDevice8_Acquire'
C:\Programming\allegro5\src\win\wjoydxnu.c: In function `_al_win_joystick_dinput_unacquire':
C:\Programming\allegro5\src\win\wjoydxnu.c:292: warning: implicit declaration of function `IDirectInputDevice8_Unacquire'
C:\Programming\allegro5\src\win\wjoydxnu.c: In function `_al_win_joystick_dinput_grab':
C:\Programming\allegro5\src\win\wjoydxnu.c:318: warning: implicit declaration of function `IDirectInputDevice8_SetCooperativeLevel'
C:\Programming\allegro5\src\win\wjoydxnu.c: In function `joystick_enum_callback':
C:\Programming\allegro5\src\win\wjoydxnu.c:582: warning: implicit declaration of function `IDirectInput8_CreateDevice'
C:\Programming\allegro5\src\win\wjoydxnu.c:587: warning: implicit declaration of function `IDirectInputDevice8_QueryInterface'
C:\Programming\allegro5\src\win\wjoydxnu.c:587: error: `IID_IDirectInputDevice8' undeclared (first use in this function)

Any hints as to what I'm doing wrong? I'd prefer to be able to use the most up-to-date code, but maybe I should just download the non-svn version. (?)

-----------

23yrold3yrold
Member #1,134
March 2001
avatar

Where's the API for Allegro 5, anyway? All the examples I find are out of date and I don't see any docs online except for the same API as on the site here ...

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Matthew Leverton
Supreme Loser
January 1999
avatar

23yrold3yrold
Member #1,134
March 2001
avatar

That works, thanks :)

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Evert
Member #794
November 2000
avatar

There's a link to the A5 API (the page Matthew posted) on Allegro's homepage (under "API"): http://alleg.sourceforge.net/api.html

 1   2 


Go to: