Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
IAudioSpectrumProvider.h File Reference
#include <PhosphorAudio/AudioDefaults.h>
#include <PhosphorAudio/phosphoraudio_export.h>
#include <QObject>
#include <QString>
#include <QVector>

Go to the source code of this file.

Classes

struct  PhosphorAudio::SpectrumOptions
 Full analysis parameter set for a spectrum provider. More...
 
class  PhosphorAudio::IAudioSpectrumProvider
 

Namespaces

namespace  PhosphorAudio
 

Enumerations

enum class  PhosphorAudio::ChannelMode { PhosphorAudio::Stereo , PhosphorAudio::MonoAverage , PhosphorAudio::MonoLeft , PhosphorAudio::MonoRight }
 How the analyzed channels map onto the emitted bar vector. More...
 

Functions

PHOSPHORAUDIO_EXPORT QString PhosphorAudio::channelModeToString (ChannelMode mode)
 Canonical config-string forms ("stereo", "mono-average", "mono-left", "mono-right") for persisting a ChannelMode.
 
PHOSPHORAUDIO_EXPORT ChannelMode PhosphorAudio::channelModeFromString (const QString &mode)
 
double PhosphorAudio::extraSmoothingFromPercent (int percent)
 Conversions between the persisted settings representation and the SpectrumOptions field values, shared by every settings consumer so the percent scale and the "auto" sentinel are spelled exactly once.
 
QString PhosphorAudio::inputMethodFromSetting (const QString &configured)