Re: [linux-audio-dev] Laaga multiple sample rates (Re: LAAGA: updates, laaga-0.2.0 tarball available)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Laaga multiple sample rates (Re: LAAGA: updates, laaga-0.2.0 tarball available)
From: Paul Davis (pbd_AT_Op.Net)
Date: Fri Jul 13 2001 - 17:03:55 EEST


>> >per-port sample rates made me have to implement some (inferior) sort of a
>> >downsampler and an upsampler right in the host, which will produce surprisi
>ng
>> >results.
>>
>> Can you explain this a little more? I don't understand the problem
>> (which is not to say I claim there isn't one) ...
>
>OK, your solution is to create a "control" port type and make all its buffers
>be of length one, but I would prefer control signals to be just plain signals
>just with another sample rate. The latter solution allows for connecting and
>converting different-rate (control) ports together, using a resampler client.

That's not my (only) solution.

   laaga_port_register (client, "some name", "Control Data @ 12kHz", ...,
                        control_buffer_size);

would work just fine. Clients can happily exchange non-scalar control
data this way if they wish to. Obviously, they need to agree on the
port type.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Jul 13 2001 - 17:05:12 EEST