Dali: Audio Buffer -- Tcl Commands


Table of Contents


Allocation



audio_8_new numSamples
audio_16_new numSamples



audio_free audio



audio_8_clip audio x numSamples
audio_16_clip audio x numSamples



audio_8_reclip audio x numSamples clipped
audio_16_reclip audio x numSamples clipped

Manipulation



audio_8_set audio v



audio_8_set_some audio v offset stride
audio_16_set_some audio v offset stride



audio_8_copy src dest
audio_16_copy src dest



audio_8_copy_some src dest srcOffset srcStride destOffset destStride
audio_16_copy_some src dest srcOffset srcStride destOffset destStride



audio_8_split src left right
audio_16_split src left right



audio_8_merge left right dest
audio_16_merge left right dest



audio_8_resample_half in out
audio_8_resample_quarter in out
audio_16_resample_half in out
audio_16_resample_quarter in out



audio_8_resample_linear src dest srcSamples destSamples
audio_8_resample_decimate src dest srcSamples destSamples
audio_16_resample_linear src dest srcSamples destSamples
audio_16_resample_decimate src dest srcSamples destSamples

Casting



bitstream_cast_to_audio_8 bs offset length
bitstream_cast_to_audio_16 bs offset length



audio_8_cast_to_bitstream audio
audio_16_cast_to_bitstream audio

Queries



audio_get_num_of_samples audio
audio_get_start_offset audio



audio_8_chunk_abs_sum audio chunksize
audio_16_chunk_abs_sum audio chunksize



audio_8_max_abs audio
audio_16_max_abs audio


See Also

Streams , AudioMap


Last updated : Saturday, November 14, 1998, 07:50 PM