src/PacketHeader.h File Reference

#include <iostream>
#include <tr1/memory>
#include <cstring>
#include "jacktrip_types.h"
#include "jacktrip_globals.h"

Include dependency graph for PacketHeader.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HeaderStruct
 Abstract Header Struct, Header Stucts should subclass it. More...
struct  DefaultHeaderStruct
 Default Header Struct. More...
struct  JamLinkHeaderStuct
 JamLink Header Struct. More...
class  PacketHeader
 Base class for header type. Subclass this struct to create a new header. More...
class  DefaultHeader
 Default Header. More...
class  JamLinkHeader
 JamLink Header. More...
class  EmptyHeader
 Empty Header to use with systems that don't include a header. More...

Variables

const unsigned short ETX_RSVD = (0<<15)
const unsigned short ETX_XTND = (1<<14)
const unsigned short ETX_STEREO = (1<<13)
const unsigned short ETX_MONO = (0<<13)
const unsigned short ETX_16BIT = (0<<12)
const unsigned short ETX_48KHZ = (0<<9)
const unsigned short ETX_44KHZ = (1<<9)
const unsigned short ETX_32KHZ = (2<<9)
const unsigned short ETX_24KHZ = (3<<9)
const unsigned short ETX_22KHZ = (4<<9)
const unsigned short ETX_16KHZ = (5<<9)
const unsigned short ETX_11KHZ = (6<<9)
const unsigned short ETX_8KHZ = (7<<9)


Detailed Description

Author:
Juan-Pablo Caceres
Date:
July 2008

Variable Documentation

const unsigned short ETX_11KHZ = (6<<9)

const unsigned short ETX_16BIT = (0<<12)

const unsigned short ETX_16KHZ = (5<<9)

const unsigned short ETX_22KHZ = (4<<9)

const unsigned short ETX_24KHZ = (3<<9)

const unsigned short ETX_32KHZ = (2<<9)

const unsigned short ETX_44KHZ = (1<<9)

const unsigned short ETX_48KHZ = (0<<9)

const unsigned short ETX_8KHZ = (7<<9)

const unsigned short ETX_MONO = (0<<13)

const unsigned short ETX_RSVD = (0<<15)

const unsigned short ETX_STEREO = (1<<13)

const unsigned short ETX_XTND = (1<<14)