MythTV  master
Classes | Macros | Variables
mythraopconnection.cpp File Reference
#include <unistd.h>
#include <algorithm>
#include <limits>
#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 EVP_PKEY_get_id   EVP_PKEY_id
 
#define EVP_PKEY_get_size   EVP_PKEY_size
 
#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

◆ EVP_PKEY_get_id

#define EVP_PKEY_get_id   EVP_PKEY_id

Definition at line 33 of file mythraopconnection.cpp.

◆ EVP_PKEY_get_size

#define EVP_PKEY_get_size   EVP_PKEY_size

Definition at line 34 of file mythraopconnection.cpp.

◆ LOC

#define LOC   QString("RAOP Conn: ")

Definition at line 37 of file mythraopconnection.cpp.

Variable Documentation

◆ MAX_PACKET_SIZE

constexpr size_t MAX_PACKET_SIZE { 2048 }
staticconstexpr

Definition at line 38 of file mythraopconnection.cpp.

◆ TIMING_REQUEST

constexpr uint8_t TIMING_REQUEST { 0x52 }
staticconstexpr

Definition at line 44 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::SendTimeRequest().

◆ TIMING_RESPONSE

constexpr uint8_t TIMING_RESPONSE { 0x53 }
staticconstexpr

Definition at line 45 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::udpDataReady().

◆ SYNC

constexpr uint8_t SYNC { 0x54 }
staticconstexpr

Definition at line 46 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 48 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 58 of file mythraopconnection.cpp.

Referenced by MythRAOPConnection::ProcessAudio().

◆ CLOCK_EPOCH

constexpr uint64_t CLOCK_EPOCH {0x83aa7e80}
staticconstexpr