Re: [AD] docs: play_audio_stream clarification

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


If you guys would like the proper terminology, I believe it is "sample frame" 
for an entity comprising both (or all) channels, and the individual values 
are "sample points". This is according to an 
official-but-not-proofread-looking document I got from wotsit.org for the 
.wav file format.

Ben

On Monday 9 February 2004 4:33 pm, Eric Botcazou wrote:
> > Just was confused one too many times about how to count samples in
> > play_audio_stream. The docs speak of alternating left/right - samples,
> > yet one sentence before one sample means the complete pair. The new
> > wording should be clear.
>
> I agree that's confusing.
>
> @@ -6646,7 +6646,8 @@
>     you can use the regular voice_*() functions with stream-&gtvoice as a
>     parameter. The sample data is always in unsigned format, with stereo
>     waveforms consisting of alternating left/right samples, left sample
> -   first.
> +   first. The len parameter still counts one left/right pair as one sample
> +   in that case.
>
> Why not "with stereo waveforms consisting of samples made of left/right
> components, left component first.  The len parameter is always measured in
> samples, regardless of the internal sructure of these samples." ?
>
> "Component" or any other better wording.
>
> --
> Eric Botcazou
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/