#include <StreamDist.hh>
Collaboration diagram for clStreamDist:

Public Member Functions | |
| clStreamDist () | |
| ~clStreamDist () | |
| int | Main (int, char **) |
| void * | AudioInThread (void *) |
| void * | ServeClientThread (void *) |
| void | Stop () |
Public Attributes | |
| clLogFile | Log |
Private Member Functions | |
| void | CopyChannel (GDT *, const GDT *, int) |
| bool | InitCompress (int) |
Private Attributes | |
| volatile bool | bRun |
| volatile int | iFragmentSize |
| volatile int | iAudioBufSize |
| volatile int | iBlockCntr |
| stRawDataFirst | sHdr |
| clCfgFile | Cfg |
| clAlloc | AudioBuf |
| clMutex | MtxAudio |
| clCondition | CndAudio |
Definition at line 55 of file StreamDist.hh.
|
|
Definition at line 182 of file StreamDist.cc. References clLogFile::Add(), bRun, Cfg, iAudioBufSize, iBlockCntr, Log, clLogFile::Open(), SD_CFGFILE, SD_LOGFILE, and clCfgFile::SetFileName(). |
|
|
Definition at line 196 of file StreamDist.cc. References clLogFile::Add(), and Log. |
|
||||||||||||||||
|
Definition at line 127 of file StreamDist.cc. References _stRawDataFirst::iChannels, iFragmentSize, and sHdr. Referenced by ServeClientThread(). |
|
|
Definition at line 141 of file StreamDist.cc. References clLogFile::Add(), Log, and MSG_SOUND_COMPRESS_FLAC. Referenced by AudioInThread(). |
|
||||||||||||
|
Definition at line 208 of file StreamDist.cc. References clLogFile::Add(), bDaemon, clSockServ::Bind(), bRun, Cfg, clSockServ::GetErrno(), clCfgFile::GetStr(), GLOBAL_VERSMAJ, GLOBAL_VERSMIN, GLOBAL_VERSPL, Log, SD_CONNECT_TIMEOUT, SD_SHUTDOWNFILE, SigHandler(), Stop(), clSockServ::WaitForConnect(), WrapAudioInThread(), and WrapServeClientThread(). Referenced by main(). |
|
|
|
Definition at line 415 of file StreamDist.cc. References clLogFile::Add(), AudioBuf, bRun, CndAudio, CopyChannel(), iAudioBufSize, iBlockCntr, _stRawDataReq::iChannel, _stRawDataFirst::iChannels, Log, MtxAudio, clSockOp::ReadN(), SD_OUTTHREAD_PRIORITY, sHdr, SOp, and clSockOp::WriteN(). Referenced by WrapServeClientThread(). |
|
|
Definition at line 84 of file StreamDist.hh. References bRun. Referenced by Main(), and SigHandler(). |
|
|
Definition at line 57 of file StreamDist.hh. Referenced by AudioInThread(), clStreamDist(), Main(), ServeClientThread(), and Stop(). |
|
|
Definition at line 58 of file StreamDist.hh. Referenced by AudioInThread(), and CopyChannel(). |
|
|
Definition at line 59 of file StreamDist.hh. Referenced by AudioInThread(), clStreamDist(), and ServeClientThread(). |
|
|
Definition at line 60 of file StreamDist.hh. Referenced by AudioInThread(), clStreamDist(), and ServeClientThread(). |
|
|
Definition at line 61 of file StreamDist.hh. Referenced by AudioInThread(), CopyChannel(), and ServeClientThread(). |
|
|
Definition at line 65 of file StreamDist.hh. Referenced by AudioInThread(), clStreamDist(), and Main(). |
|
|
Definition at line 66 of file StreamDist.hh. Referenced by AudioInThread(), and ServeClientThread(). |
|
|
Definition at line 67 of file StreamDist.hh. Referenced by AudioInThread(), and ServeClientThread(). |
|
|
Definition at line 74 of file StreamDist.hh. Referenced by AudioInThread(), and ServeClientThread(). |
|
|
Definition at line 78 of file StreamDist.hh. Referenced by AudioInThread(), clStreamDist(), InitCompress(), Main(), ServeClientThread(), SigHandler(), and ~clStreamDist(). |
1.3.3