6 #ifndef SWIFT_SOUND_SAMPLEPROVIDER_SAMPLES_H
7 #define SWIFT_SOUND_SAMPLEPROVIDER_SAMPLES_H
16 namespace swift::sound::sample_provider
23 static const Samples &instance();
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();
Sound samples from resources (wav files)
bool playClick() const
Play the click sound.
const CResourceSound & crackle() const
Various samples (sounds)
const CResourceSound & hfWhiteNoise() const
Various samples (sounds)
static const QString & fnHfWhiteNoise()
File names.
Samples(const Samples &)=delete
Avoid to copy.
const CResourceSound & click() const
Various samples (sounds)
const CResourceSound & whiteNoise() const
Various samples (sounds)
static const QString & fnClick()
File names.
static const QString & fnWhiteNoise()
File names.
static const QString & fnCrackle()
File names.
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.