VCDoc
Class Tree
Unit
VCDoc
.unaWave
Description
Set of routines to work with PCM wave data.
Author
Lake
Version
2.5.2008.07 Still here
Types
Type
Description
punaPCMChunk
punaPCMFormat
punavclWavePipeFormatExchange
Pointer to
unavclWavePipeFormatExchange
.
punaWaveFormat
Routines
Method
Description
waveExtractChannel
Extracts specified channel from PCM chunk.
waveFindNextGcd
Returns next gcd value.
waveGetChunkCurSamplesCount
Returns current number of full samples which is stored in given PCM chunk.
waveGetChunkMaxSamplesCount
Returns number of full samples which can be stored in given PCM chunk.
waveGetLogVolume
Returns Logarithmic volume.
waveGetLogVolume100
Returns Logarithmic volume.
waveGetVolume
Calculates volume. Calculation is done by adding squares of samples and then dividing result on number of samples and applying square root.
waveMix
waveMix
Mixes buf1 and buf2 and stores the result in buf3 (buf3 could be one of buf1 or buf2).
waveModifyVolume100
Modifies linear volume for all samples.
waveModifyVolume100
waveReadFromChunk
Reads bytes from PCM chunk.
waveReallocateChunk
Reallocates PCM chunk to hold required number of samples.
waveReplaceChannel
Replaces PCM data for specified channel with new one. Old data for this channel will be lost.
waveResample
Changes PCM stream characteristics.
waveResample
Changes PCM stream characteristics.
waveReverse
Reverses PCM samples in wave chunk.
waveWriteToChunk
Writes bytes to PCM chunk.
Classes/Records
Class
Description
unaPCMChunk
unaPCMFormat
unavclWavePipeFormatExchange
Data structure used for format exchange.
unaWaveFormat
(c) 2001-2008
Lake of Soft, Ltd
Created with
DelphiCodeToDoc
.