MythTV  master
Macros
ringbuffer.cpp File Reference
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cerrno>
#include <chrono>
#include <thread>
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>
#include <QFile>
#include <QDateTime>
#include <QReadLocker>
#include "threadedfilewriter.h"
#include "fileringbuffer.h"
#include "streamingringbuffer.h"
#include "mythmiscutil.h"
#include "dvdstream.h"
#include "livetvchain.h"
#include "mythcontext.h"
#include "ringbuffer.h"
#include "mythconfig.h"
#include "remotefile.h"
#include "compat.h"
#include "mythdate.h"
#include "mythtimer.h"
#include "mythlogging.h"
#include "DVD/dvdringbuffer.h"
#include "Bluray/bdringbuffer.h"
#include "HLS/httplivestreambuffer.h"
#include "mythcdrom.h"
#include "libavformat/avformat.h"
#include <cassert>
Include dependency graph for ringbuffer.cpp:

Go to the source code of this file.

Macros

#define BUFFER_SIZE_MINIMUM   (4 * 1024 * 1024)
 
#define BUFFER_FACTOR_NETWORK   2
 
#define BUFFER_FACTOR_BITRATE   2
 
#define BUFFER_FACTOR_MATROSKA   2
 
#define CHUNK   32768 /* readblocksize increments */
 
#define LOC   QString("RingBuf(%1): ").arg(filename)
 

Macro Definition Documentation

◆ BUFFER_SIZE_MINIMUM

#define BUFFER_SIZE_MINIMUM   (4 * 1024 * 1024)

Definition at line 40 of file ringbuffer.cpp.

◆ BUFFER_FACTOR_NETWORK

#define BUFFER_FACTOR_NETWORK   2

Definition at line 41 of file ringbuffer.cpp.

◆ BUFFER_FACTOR_BITRATE

#define BUFFER_FACTOR_BITRATE   2

Definition at line 42 of file ringbuffer.cpp.

◆ BUFFER_FACTOR_MATROSKA

#define BUFFER_FACTOR_MATROSKA   2

Definition at line 43 of file ringbuffer.cpp.

◆ CHUNK

#define CHUNK   32768 /* readblocksize increments */

Definition at line 48 of file ringbuffer.cpp.

◆ LOC

#define LOC   QString("RingBuf(%1): ").arg(filename)

Definition at line 50 of file ringbuffer.cpp.