All of lore.kernel.org
 help / color / mirror / Atom feed
* About integer64
@ 2002-05-09  8:10 Abramo Bagnara
  2002-05-09 10:37 ` Jaroslav Kysela
  2002-05-09 11:07 ` Paul Davis
  0 siblings, 2 replies; 8+ messages in thread
From: Abramo Bagnara @ 2002-05-09  8:10 UTC (permalink / raw)
  To: Jaroslav Kysela, Paul Davis, alsa-devel


I don't think that's a bad thing to have support for 64 bit integers
(perhaps for future use, who knows), but I think that to use this to
store a fixed point float is a big mistake.

If you think for it you realize that it's *not* an integer and
applications are betrayed in their expectation.

I see two possible solutions:
1) convert internal representation to float (or double) and add support
for this type of data
2) use SNDRV_CTL_ELEM_TYPE_BYTES

As I've already said I prefer 1) but too 2) is far better that to have a
wrong use of a data type.

-- 
Abramo Bagnara                       mailto:abramo@alsa-project.org

Opera Unica                          Phone: +39.546.656023
Via Emilia Interna, 140
48014 Castel Bolognese (RA) - Italy

ALSA project               http://www.alsa-project.org
It sounds good!

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <200205091107.NAA14247@gate.perex.cz>]

end of thread, other threads:[~2002-05-09 12:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-09  8:10 About integer64 Abramo Bagnara
2002-05-09 10:37 ` Jaroslav Kysela
2002-05-09 11:07 ` Paul Davis
2002-05-09 12:32   ` Abramo Bagnara
2002-05-09 12:57     ` Paul Davis
     [not found] <200205091107.NAA14247@gate.perex.cz>
2002-05-09 11:18 ` Jaroslav Kysela
2002-05-09 12:27   ` Abramo Bagnara
2002-05-09 12:59     ` Paul Davis

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.