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 "libmythbase/mythlogging.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/serverpool.h"
#include "libmyth/audio/audiooutput.h"
#include "libmyth/audio/audiooutpututil.h"
#include "mythraopdevice.h"
#include "mythraopconnection.h"
#include "mythairplayserver.h"
#include "libmythbase/mythchrono.h"
#include "libmythui/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: ")
 

Variables

static constexpr size_t MAX_PACKET_SIZE { 2048 }
 
static constexpr uint8_t TIMING_REQUEST { 0x52 }
 
static constexpr uint8_t TIMING_RESPONSE { 0x53 }
 
static constexpr uint8_t SYNC { 0x54 }
 
static constexpr uint8_t FIRSTSYNC { 0x54 | 0x80 }
 
static constexpr uint8_t RANGE_RESEND { 0x55 }
 
static constexpr uint8_t AUDIO_RESEND { 0x56 }
 
static constexpr uint8_t AUDIO_DATA { 0x60 }
 
static constexpr uint8_t FIRSTAUDIO_DATA { 0x60 | 0x80 }
 
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.

Variable Documentation

◆ MAX_PACKET_SIZE

constexpr size_t MAX_PACKET_SIZE { 2048 }
staticconstexpr

Definition at line 29 of file mythraopconnection.cpp.

◆ TIMING_REQUEST

constexpr uint8_t TIMING_REQUEST { 0x52 }
staticconstexpr

Definition at line 35 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::SendTimeRequest().

◆ TIMING_RESPONSE

constexpr uint8_t TIMING_RESPONSE { 0x53 }
staticconstexpr

Definition at line 36 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::udpDataReady().

◆ SYNC

constexpr uint8_t SYNC { 0x54 }
staticconstexpr

Definition at line 37 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::udpDataReady().

◆ FIRSTSYNC

constexpr uint8_t FIRSTSYNC { 0x54 | 0x80 }
staticconstexpr

◆ RANGE_RESEND

constexpr uint8_t RANGE_RESEND { 0x55 }
staticconstexpr

Definition at line 39 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::SendResendRequest().

◆ AUDIO_RESEND

constexpr uint8_t AUDIO_RESEND { 0x56 }
staticconstexpr

◆ AUDIO_DATA

constexpr uint8_t AUDIO_DATA { 0x60 }
staticconstexpr

◆ FIRSTAUDIO_DATA

constexpr uint8_t FIRSTAUDIO_DATA { 0x60 | 0x80 }
staticconstexpr

◆ 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