Subject: Re: [alsa-devel] Re: [linux-audio-dev] Re: Toward a modularizationofaudio component
From: Abramo Bagnara (abramo_AT_alsa-project.org)
Date: Mon May 07 2001 - 18:42:42 EEST
Paul Davis wrote:
>
> >An audio component may treat only *one* format, nothing force it to
> >handle all.
>
> In your model Abramo, what will happen if someone writes a 16bit,
> interleaved stereo component and tries to use it with an engine that
> uses 32bit non-interleaved float? Will there be an error, or just
> silent data format conversion?
Error, of course (on params negotiation).
Obviously, nothing inhibits to have:
[16 bit component] -> [16 bit -> float 32 converter] -> engine
if this is needed.
Also you might have
[multi format component] -> engine
-- Abramo Bagnara mailto:abramo_AT_alsa-project.orgOpera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy
ALSA project http://www.alsa-project.org It sounds good!
This archive was generated by hypermail 2b28 : Mon May 07 2001 - 19:07:32 EEST