Re: [ecasound] problems with an old frames_per_cycle worth of audio after unmuting

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

Subject: Re: [ecasound] problems with an old frames_per_cycle worth of audio after unmuting
From: Kai Vehmanen (k_AT_eca.cx)
Date: Wed Nov 28 2001 - 22:11:13 EET


On Mon, 26 Nov 2001, Jeremy Hall wrote:

>> I haven't used ardour so I'm not sure what frame means here, but if it's
>> sample-frame, then you can use ecasound's 'ai-set-position-samples', etc
>> to set exact position.
> A frame is the same as in alsa, a sample, thus an f32_le frame is 4 bytes,
> while an s16_le frame is 2 bytes.

That's it. You should be able to use the *-samples cmds.

PS To be precise, actual size of one frame depends on both sample
   format and channel count. For instance, one frame of interleaved,
   s16_le, stereo stream is 4 bytes (2 bytes per sample * 2 channels).

-- 
 http://www.eca.cx
 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.


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

This archive was generated by hypermail 2b28 : Wed Nov 28 2001 - 22:04:02 EET