Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
rtp_audio_silence_generator.h
Go to the documentation of this file.
1
10#ifndef RTP_AUDIO_SILENCE_GENERATOR_H
11#define RTP_AUDIO_SILENCE_GENERATOR_H
12
13#include "config.h"
14
15#include <QIODevice>
16
17class AudioSilenceGenerator: public QIODevice
18{
19public:
20 explicit AudioSilenceGenerator(QObject *parent = nullptr);
22
23 qint64 size() const override;
24 qint64 pos() const override;
25 bool seek(qint64 off) override;
26
27protected:
28 qint64 readData(char *data, qint64 maxSize) override;
29 qint64 writeData(const char *data, qint64 maxSize) override;
30
31private:
32 quint64 pos_;
33};
34
35#endif // RTP_AUDIO_SILENCE_GENERATOR_H
Definition rtp_audio_silence_generator.h:18