21 #ifndef OUTPUTWRITER_P_H
22 #define OUTPUTWRITER_P_H
75 void seek(qint64 time,
bool reset =
false);
91 int sampleSize()
const;
95 void updateEqSettings();
98 virtual void run()
override final;
101 void dispatch(qint64 elapsed,
int bitrate);
104 void dispatchVisual(
Buffer *buffer);
105 bool prepareConverters();
106 void startVisualization();
107 void stopVisualization();
113 quint32 m_frequency = 0;
114 int m_channels = 0, m_kbps = 0;
117 qint64 m_bytesPerMillisecond = 0;
118 std::atomic_bool m_user_stop = ATOMIC_VAR_INIT(
false);
119 std::atomic_bool m_pause = ATOMIC_VAR_INIT(
false);
120 std::atomic_bool m_muted = ATOMIC_VAR_INIT(
false);
121 std::atomic_bool m_finish = ATOMIC_VAR_INIT(
false);
122 bool m_paused =
false;
123 bool m_useEq =
false;
125 qint64 m_totalWritten = 0, m_currentMilliseconds = -1;
131 unsigned char *m_output_buf =
nullptr;
132 size_t m_output_size = 0;
The AbstractEngine class provides the internal audio converter.
The QmmpSettings class provides access to global settings.
The Effect class provides the base interface class of audio effects.
The AudioParameters class keeps information about audio settings.
The StateHandler class allows one to track information about playback progress.
The Output class provides the base interface class of audio outputs.
This class represents audio channel mapping.
AudioParameters m_in_params