live
Static Public Member Functions
ADUdescriptor Class Reference

#include <MP3ADUdescriptor.hh>

Static Public Member Functions

static unsigned computeSize (unsigned remainingFrameSize)
 
static unsigned generateDescriptor (unsigned char *&toPtr, unsigned remainingFrameSize)
 
static void generateTwoByteDescriptor (unsigned char *&toPtr, unsigned remainingFrameSize)
 
static unsigned getRemainingFrameSize (unsigned char *&fromPtr)
 

Detailed Description

Definition at line 26 of file MP3ADUdescriptor.hh.

Member Function Documentation

◆ computeSize()

static unsigned ADUdescriptor::computeSize ( unsigned  remainingFrameSize)
inlinestatic

Definition at line 29 of file MP3ADUdescriptor.hh.

29 {
30 return remainingFrameSize >= 64 ? 2 : 1;
31 }

◆ generateDescriptor()

static unsigned ADUdescriptor::generateDescriptor ( unsigned char *&  toPtr,
unsigned  remainingFrameSize 
)
static

◆ generateTwoByteDescriptor()

static void ADUdescriptor::generateTwoByteDescriptor ( unsigned char *&  toPtr,
unsigned  remainingFrameSize 
)
static

◆ getRemainingFrameSize()

static unsigned ADUdescriptor::getRemainingFrameSize ( unsigned char *&  fromPtr)
static

The documentation for this class was generated from the following file: