JVCL Help:TJvAudioFormat.AvgBytesPerSec

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

The average number of bytes per second in the audio stream.


Pascal

 propertyAvgBytesPerSec: Cardinal;


Description

This value must be calculated according to the provider of the audio format you want to use and that you indicated by setting the value of FormatTag. Please note that if FormatTag is equal to WAVE_FORMAT_PCM, the value of AvgBytesPerSec will be ignored and will be computed according to the recommendation for this format:
AvgBytesPerSec := SamplesPerSec * ((Channels * BitsPerSample) div 8)


See Also

TJvAudioFormat.BitsPerSample, TJvAudioFormat.Channels, TJvAudioFormat.FillWaveFormatEx, TJvAudioFormat.FormatTag, TJvAudioFormat.SamplesPerSec


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page