6#ifndef SWIFT_SOUND_SAMPLEPROVIDER_SAMPLES_H
7#define SWIFT_SOUND_SAMPLEPROVIDER_SAMPLES_H
16namespace swift::sound::sample_provider
37 bool playClick()
const {
return m_audioSettings.get().pttClickUp(); }
43 static const QString f =
"afv_crackle_f32.wav";
48 static const QString f =
"afv_click_f32.wav";
53 static const QString f =
"afv_whitenoise_f32.wav";
58 static const QString f =
"afv_hf_whiteNoise_f32.wav";
78 void onSettingsChanged();
Class template for accessing a specific value in the CSettingsCache.
Sound samples from resources (wav files).
bool playClick() const
Play the click sound.
static const QString & fnWhiteNoise()
File names.
const CResourceSound & whiteNoise() const
Various samples (sounds).
const CResourceSound & crackle() const
Various samples (sounds).
Samples(const Samples &)=delete
Avoid to copy.
const CResourceSound & click() const
Various samples (sounds).
const CResourceSound & hfWhiteNoise() const
Various samples (sounds).
static const QString & fnHfWhiteNoise()
File names.
static const QString & fnClick()
File names.
static const Samples & instance()
Singleton.
static const QString & fnCrackle()
File names.
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.