Re: update opensonic 0.1.4

2020-04-10 Thread Nam Nguyen
Landry Breuil writes:

> no sound issue after some playing, with ogg123 also playing a stream at
> the same time via sndio. looks good to me - and i also support the
> removal of audio/dumb and graphics/allegropng.

Paul Velencia (reivyr) said that audio/dumb is needed for a WIP-port of
Adventure Game Studio. Keep audio/dumb and remove graphics/allegropng
because no potential or current consumers will use allegropng. Although,
allegropng does seem like a lighter alternative to loadpng.

allegropng
==
http://alpng.sourceforge.net/

"It's completely standalone, it doesn't require libpng nor zlib (however
it can use zlib if installed)."

loadpng
===
https://tjaden.strangesoft.net/loadpng/

This is a new library supplied by the proposed allegro update.

"Note: If you have libpng installed you can try to use loadpng library
instead of alpng. loadpng is faster and supports some additional
features like gama. It also exists for longer time so it's more tested."



Re: update opensonic 0.1.4

2020-04-10 Thread Landry Breuil
On Thu, Apr 09, 2020 at 10:11:06PM -0700, Nam Nguyen wrote:
> 
> ping. Attached diff because the old CMakeLists patch contains ^M but the
> latest CMakeLists does not.

I havent really looked at the details, but fwiw i've tested this update
along allegro update, and it works fine here.

two minor annoyances (but iirc they were present before):
- selecting fullscreen messes up dual-screen setups
- selecting 'smooth gfx' triggers a segfault

no sound issue after some playing, with ogg123 also playing a stream at
the same time via sndio. looks good to me - and i also support the
removal of audio/dumb and graphics/allegropng.

thanks !

Landry



Re: update opensonic 0.1.4

2020-04-09 Thread Nam Nguyen

ping. Attached diff because the old CMakeLists patch contains ^M but the
latest CMakeLists does not.

Nam Nguyen writes:

> I attached an update for opensonic 0.1.4, released September 19, 2010.
>
> This fixes speed problems and audio issues, as reported by Solene:
> https://marc.info/?l=openbsd-ports=156996003025613=2
>
> The speed problem was fixed since opensonic 0.1.4 uses gettimeofday()
> instead of allegro's timers, as I explained in that thread.
>
> With the audio workaround in the proposed update for allegro,
> opensonic's audio works with some minor flaws. There is an audible gap
> when the stage song repeats due to a flaw in allegro's design because
> the opensonic's author notes that it is an ugly hack to get the song to
> repeat. There is also a swooshing sound every few seconds. The knob in
> that workaround might have to be adjusted from 40 ms to something else.
>
> I propose the removal of audio/dumb and graphics/allegropng. opensonic
> now uses logg bundled with allegro and is the only consumer of these
> ports.
>
> Feedback and tests are welcome. Gotta go fast
> https://www.openbsd.org/images/hackathons/n2k18.gif



opensonic.diff
Description: opensonic.diff


update opensonic 0.1.4

2019-10-21 Thread Nam Nguyen

I attached an update for opensonic 0.1.4, released September 19, 2010.

This fixes speed problems and audio issues, as reported by Solene:
https://marc.info/?l=openbsd-ports=156996003025613=2

The speed problem was fixed since opensonic 0.1.4 uses gettimeofday()
instead of allegro's timers, as I explained in that thread.

With the audio workaround in the proposed update for allegro,
opensonic's audio works with some minor flaws. There is an audible gap
when the stage song repeats due to a flaw in allegro's design because
the opensonic's author notes that it is an ugly hack to get the song to
repeat. There is also a swooshing sound every few seconds. The knob in
that workaround might have to be adjusted from 40 ms to something else.

I propose the removal of audio/dumb and graphics/allegropng. opensonic
now uses logg bundled with allegro and is the only consumer of these
ports.

Feedback and tests are welcome. Gotta go fast
https://www.openbsd.org/images/hackathons/n2k18.gif



opensonic.diff
Description: opensonic.diff