MythTV  master
Classes | Macros | Variables
mythraopconnection.cpp File Reference
#include <unistd.h>
#include <utility>
#include <QTcpSocket>
#include <QTextStream>
#include <QTimer>
#include <QtEndian>
#include <QStringConverter>
#include "mythlogging.h"
#include "mythcorecontext.h"
#include "mythdirs.h"
#include "serverpool.h"
#include "audiooutput.h"
#include "audiooutpututil.h"
#include "mythraopdevice.h"
#include "mythraopconnection.h"
#include "mythairplayserver.h"
#include "mythchrono.h"
#include "mythmainwindow.h"
Include dependency graph for mythraopconnection.cpp:

Go to the source code of this file.

Classes

class  RaopNetStream
 

Macros

#define LOC   QString("RAOP Conn: ")
 
#define MAX_PACKET_SIZE   2048
 
#define TIMING_REQUEST   0x52
 
#define TIMING_RESPONSE   0x53
 
#define SYNC   0x54
 
#define FIRSTSYNC   (0x54 | 0x80)
 
#define RANGE_RESEND   0x55
 
#define AUDIO_RESEND   0x56
 
#define AUDIO_DATA   0x60
 
#define FIRSTAUDIO_DATA   (0x60 | 0x80)
 

Variables

static constexpr std::chrono::milliseconds AUDIOCARD_BUFFER { 500ms }
 
static constexpr std::chrono::milliseconds AUDIO_BUFFER { 100ms }
 
static constexpr uint64_t CLOCK_EPOCH {0x83aa7e80}
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("RAOP Conn: ")

Definition at line 28 of file mythraopconnection.cpp.

◆ MAX_PACKET_SIZE

#define MAX_PACKET_SIZE   2048

Definition at line 29 of file mythraopconnection.cpp.

◆ TIMING_REQUEST

#define TIMING_REQUEST   0x52

Definition at line 35 of file mythraopconnection.cpp.

◆ TIMING_RESPONSE

#define TIMING_RESPONSE   0x53

Definition at line 36 of file mythraopconnection.cpp.

◆ SYNC

#define SYNC   0x54

Definition at line 37 of file mythraopconnection.cpp.

◆ FIRSTSYNC

#define FIRSTSYNC   (0x54 | 0x80)

Definition at line 38 of file mythraopconnection.cpp.

◆ RANGE_RESEND

#define RANGE_RESEND   0x55

Definition at line 39 of file mythraopconnection.cpp.

◆ AUDIO_RESEND

#define AUDIO_RESEND   0x56

Definition at line 40 of file mythraopconnection.cpp.

◆ AUDIO_DATA

#define AUDIO_DATA   0x60

Definition at line 41 of file mythraopconnection.cpp.

◆ FIRSTAUDIO_DATA

#define FIRSTAUDIO_DATA   (0x60 | 0x80)

Definition at line 42 of file mythraopconnection.cpp.

Variable Documentation

◆ AUDIOCARD_BUFFER

constexpr std::chrono::milliseconds AUDIOCARD_BUFFER { 500ms }
staticconstexpr

◆ AUDIO_BUFFER

constexpr std::chrono::milliseconds AUDIO_BUFFER { 100ms }
staticconstexpr

Definition at line 49 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::ProcessAudio().

◆ CLOCK_EPOCH

constexpr uint64_t CLOCK_EPOCH {0x83aa7e80}
staticconstexpr