Logo Search packages:      
Sourcecode: vdr-plugin-bitstreamout version File versions  Download package

Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes

spdif Class Reference

Inheritance diagram for spdif:
Inheritance graph
[legend]
Collaboration diagram for spdif:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual size_t Available (const size_t max)
virtual void Clear (bool exit=false)
virtual void Close (cThread *caller=NULL)
virtual void Forward (const uint_8 *data, const size_t dlen, class cBounce *bounce)
virtual bool Open (iec60958 *in, cThread *caller=NULL)
virtual operator void * ()
virtual void Pause (const bool onoff)
 spdif (ctrl_t &up)
virtual bool Synchronize (class cBounce *bounce)

Private Types

enum  { SPDIF_LOW = -1, SPDIF_OK = 0, SPDIF_HIGH = 1 }
enum  { SPDIF_CON, SPDIF_PRO }
enum  {
  FL_FIRST = 0x00000001, FL_IO = 0x00000002, FL_CANPAUSE = 0x00000004, FL_UNDERRUN = 0x00000008,
  FL_VRPERIOD = 0x00000010, FL_NOEXSYNC = 0x00000020, FL_BURSTRUN = 0x00000040, FL_PAUSE = 0x00000080,
  FL_OVERRUN = 0x00000100, FL_REPEAT = 0x00000200
}
typedef snd_pcm_sframes_t(* snd_pcm_writei_t )(snd_pcm_t *, const void *, snd_pcm_uframes_t)

Private Member Functions

virtual void block_signals (void)
virtual void burst (const frame_t &pcm)
virtual int check (snd_pcm_status_t *status=NULL)
bool Frame (frame_t &pcm, const uint_8 *&out, const uint_8 *const tail)
bool Hold (cThread *Thread)
virtual void leave_signals (void)
void Lock (void)
virtual bool Stream (iec60958 *in)
void Unhold (void)
void Unlock (void)
bool xrepeat (void)
void xsuspend (void)
void xunderrun (void)

Private Attributes

cMutex _close
struct {
   snd_pcm_uframes_t   alarm
   snd_pcm_uframes_t   high
   snd_pcm_uframes_t   lower
   snd_pcm_uframes_t   upper
buf
snd_pcm_uframes_t buffer_size
snd_pcm_uframes_t burst_size
snd_aes_iec958_t ch
int count
uint_32 ctrlbits
snd_pcm_sframes_t delay
snd_pcm_format_t format
int fragsize
snd_output_t * log
sigset_t oldset
struct {
   int   adelay
   bool   audio
   unsigned int   card
   unsigned int   device
   int   first
   unsigned int   iec958_aes0_pro_fs_rate
   unsigned int   iec958_aes3_con_fs_rate
   int   mdelay
   bool   mmap
   unsigned int   type
opt
snd_pcm_t * out
snd_pcm_sframes_t pause
size_t paysize
int period
snd_pcm_uframes_t periods
ctrl_tsetup
frame_t silent
snd_pcm_status_t * status
iec60958stream
cThread * thread
cPsleep wait
snd_pcm_writei_t writei
struct timeval xrstart

Static Private Attributes

static uint_32 silent_buf []

Detailed Description

Definition at line 65 of file spdif.h.


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

Generated by  Doxygen 1.6.0   Back to index