You are here: Symbol Reference > CoreAudioSignal Namespace > Classes > TSignalCoreAudio Class > published > TSignalCoreAudio.SamplingFrequency Property
DSP Master VCL
ContentsIndex
PreviousUpNext
TSignalCoreAudio.SamplingFrequency Property

Specifies the desired sampling frequency.

Pascal
property SamplingFrequency: double;

In case of playback, this is what the hardware will use. In case of recording the hardware will use SamplingFrequencyHW. When doing playback on Android and iOS, this setting will be overwritten with the "native sample rate" obtained from the audio system. The "native sample rate" depends upon the playback device. Loudspeakers and bluetooth have a different sample rate and this needs to be changed as soon as the playback device will change. When a change in sample rate is detected, the playback will stop and needs to be restarted manually. 

Internally, the component will automatically convert the rate of whatever is connected to its input to the currently active one on the output.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!