tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Audio - In kernel audio mixing



Hi Timo,
On Mon, 16 May 2016 10:18:08 Timo Buhrmester wrote:
> > /usr/src/sys/dev/isa/files.isa:435: redefinition of `spkr'
> 
> It builds when removing the pertinent line from that file.
> 
> It works so far, apart from what appears to be a logarithmic decrease
> in global volume with each concurrent opening of the device.  I assume
> this is done to avoid clipping when multiple large amplitude signals
> happen to be in phase (?).
> 
> I wonder how other mixers solve the issue.

I tried to answer this question theoretically and if the same song was playing 
twice it would be twice as loud leading to clipping hence the division by the 
number of opens.

It had to be a fast computation.

Best regards,

Nat.


Home | Main Index | Thread Index | Old Index