Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Raphaël BOLLEN
On 03/24/2013 04:11 PM, Fons Adriaensen wrote: On Sun, Mar 24, 2013 at 02:01:27PM +0100, Raphaël BOLLEN wrote: With the patch I sent, you can leave input 1 un-connected cpu % stays at ~2% but if you stream silence to it cpu % rises again to ~10% There should be no difference between those two

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Fons Adriaensen
On Sun, Mar 24, 2013 at 02:01:27PM +0100, Raphaël BOLLEN wrote: > With the patch I sent, you can leave input 1 un-connected cpu % > stays at ~2% but if you stream silence to it cpu % rises again to > ~10% There should be no difference between those two cases. This means that the 'silence' you sen

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Raphaël BOLLEN
On 03/24/2013 12:56 PM, Fons Adriaensen wrote: On Sun, Mar 24, 2013 at 01:57:18AM +0100, Jörn Nettingsmeier wrote: On 03/23/2013 06:05 PM, Raphaël BOLLEN wrote: Awesome, however cpu usage is ~12% on my system when playing silence and drops to ~2% with some audio going through. smells like a

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Fons Adriaensen
On Sun, Mar 24, 2013 at 01:57:18AM +0100, Jörn Nettingsmeier wrote: > On 03/23/2013 06:05 PM, Raphaël BOLLEN wrote: > > >Awesome, however cpu usage is ~12% on my system when playing silence and > >drops to ~2% with some audio going through. > > smells like a denormals issue. It sure does, but I

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Raphaël BOLLEN
On 03/24/2013 10:49 AM, hermann meyer wrote: Am 24.03.2013 09:46, schrieb Raphaël BOLLEN: Aargh, although only if the inputs are left un-connected, if you stream silence on input 1 cpu % increase is back. I use when ever possible SSE2 to avoid denormals, compile with -msse2 -mfpmath=sse flag

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread hermann meyer
Am 24.03.2013 09:46, schrieb Raphaël BOLLEN: Aargh, although only if the inputs are left un-connected, if you stream silence on input 1 cpu % increase is back. I use when ever possible SSE2 to avoid denormals, compile with -msse2 -mfpmath=sse flags and implement as followed:

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Raphaël BOLLEN
On 03/24/2013 09:06 AM, Raphaël BOLLEN wrote: On 03/23/2013 06:05 PM, Raphaël BOLLEN wrote: On 03/16/2013 07:23 PM, Fons Adriaensen wrote: On Sat, Mar 16, 2013 at 09:25:46AM -0400, Paul Davis wrote: On Sat, Mar 16, 2013 at 9:25 AM, John Rigg wrote: A lot of mixing consoles don't provide a

Re: [LAD] Mixing audio: Implementing pan and balance

2013-03-24 Thread Raphaël BOLLEN
On 03/23/2013 06:05 PM, Raphaël BOLLEN wrote: On 03/16/2013 07:23 PM, Fons Adriaensen wrote: On Sat, Mar 16, 2013 at 09:25:46AM -0400, Paul Davis wrote: On Sat, Mar 16, 2013 at 9:25 AM, John Rigg wrote: A lot of mixing consoles don't provide a mono switch, but it's usually possible to work