[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] sound mixer on Haiku and Amiga OS
From: |
Sandro Santilli |
Subject: |
Re: [Gnash-dev] sound mixer on Haiku and Amiga OS |
Date: |
Thu, 17 Dec 2015 17:14:53 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Update I found that the Amiga OS mixer was assuming a
most-significant-bit layout for the sound and that was
the version I copied.
After realizing it was not working correctly for the common
home systems I changed to the least-significat-bit layout first
and finally with commit 675ed652 I made the default mixing code
be either LSB or MSB based on the running system.
As I only have a way to test on LSB systems, it's still helpful
if any of you can test on MSB ones.
A very useful SWF file for testing is this one:
http://strk.keybit.net/tmp/hestekor.swf
When mixer is wrong, there's noise as soon as two horses start
singing at the same time.
--strk;
On Wed, Dec 16, 2015 at 01:10:11PM +0100, Sandro Santilli wrote:
> As of commit eef4c8f3 I moved the duplicated implementation of a sound
> mixer in aos4/ (Amiga OS) and mkit/ (Haiku) up to the base "sound_handler"
> class, so to be also able to use it from NullSoundHandler which is in turn
> used by dump-gnash.
>
> The main motivation for this was to avoid having to call SDL's
> OpenAudio at startup (which may take exclusive access to the sound
> card) just for the purpose of using the SDL Mixer for mixing things.
>
> As I cannot test on Amiga OS or Haiku, this mail is for those who can,
> to let me know if I broke anything there.
>
> Thanks for testing !
>
> --strk;
>
> () Free GIS & Flash consultant/developer
> /\ http://strk.keybit.net/services.html