All of lore.kernel.org
 help / color / mirror / Atom feed
* Samples: Float to Int conversions.
@ 2004-04-30 18:04 James Courtier-Dutton
  2004-05-01  0:48 ` Erik de Castro Lopo
  2004-05-03  7:50 ` Clemens Ladisch
  0 siblings, 2 replies; 3+ messages in thread
From: James Courtier-Dutton @ 2004-04-30 18:04 UTC (permalink / raw)
  To: ALSA development

Which section of code in alsa-lib is doing these conversions.
I would like to see what code you use for the task of converting samples 
in float format to samples in int format.

James


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Samples: Float to Int conversions.
  2004-04-30 18:04 Samples: Float to Int conversions James Courtier-Dutton
@ 2004-05-01  0:48 ` Erik de Castro Lopo
  2004-05-03  7:50 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Erik de Castro Lopo @ 2004-05-01  0:48 UTC (permalink / raw)
  To: alsa-devel

On Fri, 30 Apr 2004 18:04:31 +0000
James Courtier-Dutton <James@superbug.demon.co.uk> wrote:

> Which section of code in alsa-lib is doing these conversions.
> I would like to see what code you use for the task of converting samples 
> in float format to samples in int format.

You might also be interested in:

    http://www.mega-nerd.com/FPcast/

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"The beauty of religious mania is that it has the power to
explain everything. Once God (or Satan) is accepted as the first
cause of everything which happens in the mortal world, nothing
is left to chance...logic can be happily tossed out the window."
- Stephen King


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Samples: Float to Int conversions.
  2004-04-30 18:04 Samples: Float to Int conversions James Courtier-Dutton
  2004-05-01  0:48 ` Erik de Castro Lopo
@ 2004-05-03  7:50 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2004-05-03  7:50 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: ALSA development

James Courtier-Dutton wrote:
> Which section of code in alsa-lib is doing these conversions.
> I would like to see what code you use for the task of converting samples
> in float format to samples in int format.

Function snd_pcm_lfloat_convert_float_integer() in
alsa-lib/src/pcm/pcm_lfloat.c.


Regards,
Clemens




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-03  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 18:04 Samples: Float to Int conversions James Courtier-Dutton
2004-05-01  0:48 ` Erik de Castro Lopo
2004-05-03  7:50 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.