#include <XMMSOut.hh>
Collaboration diagram for clXMMSOut:

Public Member Functions | |
| clXMMSOut () | |
| ~clXMMSOut () | |
| void | Init () |
| void | About () |
| void | Configure () |
| int | OpenAudio (AFormat, int, int) |
| void | WriteAudio (void *, int) |
| void | CloseAudio () |
| void | Flush (int) |
| void | Pause (short) |
| int | BufferFree () |
| int | BufferPlaying () |
| int | OutputTime () |
| int | WrittenTime () |
| void * | MainThread (void *) |
| void * | ServeClientThread (void *) |
| void | Stop () |
| void | OnAboutButton (GtkButton *, gpointer) |
| void | OnButtonClick (GtkButton *, gpointer) |
Private Member Functions | |
| double | GetTime () |
| void | Convert8s8u (void *, int) |
| void | Convert16u16s (void *, int) |
| void | EndianConvert (unsigned short *, int) |
| void | CopyChannel (GDT *, const GDT *, int) |
Private Attributes | |
| volatile bool | bRun |
| volatile bool | bPause |
| int | iMainThreadH |
| int | iWriteTime |
| int | iPlayTime |
| volatile int | iAudioBufSize |
| volatile int | iFragmentSize |
| unsigned long long | uiTotalTickCount |
| double | dStartTime |
| char * | cpLocalSocket |
| AFormat | eAudioFormat |
| stRawDataFirst | sHdr |
| clReBufferT< GDT > | ReBuffer |
| clAlloc | AudioBuf |
| clMutex | MtxAudio |
| clCondition | CndAudio |
| clDSPOp | DSP |
| clSockServ | SServ |
| gchar * | cpMessageTxt |
| GtkWidget * | gwMessageBox |
| GtkWidget * | gwWinConfig |
| GtkWidget * | gwVBox |
| GtkWidget * | gwHBox |
| GtkWidget * | gwLBufSize |
| GtkWidget * | gwEBufSize |
| GtkWidget * | gwLLocalSocket |
| GtkWidget * | gwELocalSocket |
| GtkWidget * | gwBOk |
| GtkWidget * | gwBCancel |
|
|
Definition at line 253 of file XMMSOut.cc. References bPause, bRun, cpLocalSocket, dStartTime, gwWinConfig, iAudioBufSize, iFragmentSize, and iMainThreadH. |
|
|
Definition at line 266 of file XMMSOut.cc. References CloseAudio(). |
|
|
Definition at line 186 of file XMMSOut.cc. Referenced by Flush(), and WriteAudio(). |
|
||||||||||||
|
Definition at line 197 of file XMMSOut.cc. Referenced by WriteAudio(). |
|
||||||||||||
|
Definition at line 211 of file XMMSOut.cc. Referenced by WriteAudio(). |
|
||||||||||||
|
Definition at line 225 of file XMMSOut.cc. |
|
||||||||||||||||
|
Definition at line 239 of file XMMSOut.cc. References _stRawDataFirst::iChannels, iFragmentSize, and sHdr. Referenced by ServeClientThread(). |
|
|
Definition at line 272 of file XMMSOut.cc. References AudioBuf, clSockServ::Bind(), cpDefLocalSocket, cpLocalSocket, GDT, iAudioBufSize, iDefBufferSize, iFragmentSize, and SServ. Referenced by hasas_init(), and OnButtonClick(). |
|
|
Definition at line 298 of file XMMSOut.cc. References cpMessageTxt, GLOBAL_VERSMAJ, GLOBAL_VERSMIN, GLOBAL_VERSPL, gwMessageBox, WrapOnAboutButton(), and XMMSOUT_DESCRIPTION. Referenced by hasas_about(). |
|
|
Definition at line 309 of file XMMSOut.cc. References cpBCancelTxt, cpBOkTxt, cpLBufSizeTxt, cpLLocalSocketTxt, cpLocalSocket, cpWinTitleTxt, gwBCancel, gwBOk, gwEBufSize, gwELocalSocket, gwHBox, gwLBufSize, gwLLocalSocket, gwVBox, gwWinConfig, iAudioBufSize, and WrapOnButtonClick(). Referenced by hasas_configure(). |
|
||||||||||||||||
|
Definition at line 370 of file XMMSOut.cc. References bRun, _stRawDataFirst::dSampleRate, dStartTime, eAudioFormat, _stRawDataFirst::iChannels, iMainThreadH, iPlayTime, iWriteTime, MainThread(), sHdr, uiTotalTickCount, and XMMSOutThreads(). Referenced by hasas_open_audio(). |
|
||||||||||||
|
Definition at line 392 of file XMMSOut.cc. References AudioBuf, bPause, CndAudio, Convert16u16s(), Convert8s8u(), _stRawDataFirst::dSampleRate, DSP, dStartTime, eAudioFormat, GDT, GetTime(), _stRawDataFirst::iChannels, iFragmentSize, iPlayTime, iWriteTime, MtxAudio, ReBuffer, sHdr, and uiTotalTickCount. Referenced by hasas_write_audio(). |
|
|
Definition at line 489 of file XMMSOut.cc. References iMainThreadH, Stop(), and XMMSOutThreads(). Referenced by hasas_close_audio(), and ~clXMMSOut(). |
|
|
Definition at line 500 of file XMMSOut.cc. References dStartTime, GetTime(), iPlayTime, iWriteTime, and uiTotalTickCount. Referenced by hasas_flush(). |
|
|
Definition at line 509 of file XMMSOut.cc. References bPause. Referenced by hasas_pause(). |
|
|
Definition at line 515 of file XMMSOut.cc. References iAudioBufSize. Referenced by hasas_buffer_free(). |
|
|
Definition at line 522 of file XMMSOut.cc. Referenced by hasas_buffer_playing(). |
|
|
Definition at line 529 of file XMMSOut.cc. References iPlayTime. Referenced by hasas_output_time(). |
|
|
Definition at line 535 of file XMMSOut.cc. References iWriteTime. Referenced by hasas_written_time(). |
|
|
Definition at line 541 of file XMMSOut.cc. References bRun, ServeClientThread(), SServ, clSockServ::WaitForConnect(), and XMMSOutThreads(). Referenced by OpenAudio(). |
|
|
Definition at line 560 of file XMMSOut.cc. References AudioBuf, bRun, CndAudio, CopyChannel(), DSP, GDT, iAudioBufSize, _stRawDataReq::iChannel, _stRawDataFirst::iChannels, iFragmentSize, MtxAudio, clSockOp::ReadN(), sHdr, SOp, and clSockOp::WriteN(). Referenced by MainThread(). |
|
|
Definition at line 103 of file XMMSOut.hh. References bRun. Referenced by CloseAudio(). |
|
||||||||||||
|
Definition at line 605 of file XMMSOut.cc. References cpMessageTxt, and gwMessageBox. Referenced by WrapOnAboutButton(). |
|
||||||||||||
|
Definition at line 612 of file XMMSOut.cc. References clSockServ::Close(), gwBCancel, gwBOk, gwEBufSize, gwELocalSocket, gwWinConfig, Init(), and SServ. Referenced by WrapOnButtonClick(). |
|
|
Definition at line 50 of file XMMSOut.hh. Referenced by clXMMSOut(), MainThread(), OpenAudio(), ServeClientThread(), and Stop(). |
|
|
Definition at line 51 of file XMMSOut.hh. Referenced by clXMMSOut(), Pause(), and WriteAudio(). |
|
|
Definition at line 52 of file XMMSOut.hh. Referenced by CloseAudio(), clXMMSOut(), and OpenAudio(). |
|
|
Definition at line 53 of file XMMSOut.hh. Referenced by Flush(), OpenAudio(), WriteAudio(), and WrittenTime(). |
|
|
Definition at line 54 of file XMMSOut.hh. Referenced by Flush(), OpenAudio(), OutputTime(), and WriteAudio(). |
|
|
Definition at line 55 of file XMMSOut.hh. Referenced by BufferFree(), clXMMSOut(), Configure(), Init(), and ServeClientThread(). |
|
|
Definition at line 56 of file XMMSOut.hh. Referenced by clXMMSOut(), CopyChannel(), Init(), ServeClientThread(), and WriteAudio(). |
|
|
Definition at line 57 of file XMMSOut.hh. Referenced by Flush(), OpenAudio(), and WriteAudio(). |
|
|
Definition at line 58 of file XMMSOut.hh. Referenced by clXMMSOut(), Flush(), OpenAudio(), and WriteAudio(). |
|
|
Definition at line 59 of file XMMSOut.hh. Referenced by clXMMSOut(), Configure(), and Init(). |
|
|
Definition at line 60 of file XMMSOut.hh. Referenced by OpenAudio(), and WriteAudio(). |
|
|
Definition at line 61 of file XMMSOut.hh. Referenced by CopyChannel(), OpenAudio(), ServeClientThread(), and WriteAudio(). |
|
|
Definition at line 62 of file XMMSOut.hh. Referenced by WriteAudio(). |
|
|
Definition at line 63 of file XMMSOut.hh. Referenced by Init(), ServeClientThread(), and WriteAudio(). |
|
|
Definition at line 64 of file XMMSOut.hh. Referenced by ServeClientThread(), and WriteAudio(). |
|
|
Definition at line 65 of file XMMSOut.hh. Referenced by ServeClientThread(), and WriteAudio(). |
|
|
Definition at line 66 of file XMMSOut.hh. Referenced by ServeClientThread(), and WriteAudio(). |
|
|
Definition at line 67 of file XMMSOut.hh. Referenced by Init(), MainThread(), and OnButtonClick(). |
|
|
Definition at line 69 of file XMMSOut.hh. Referenced by About(), and OnAboutButton(). |
|
|
Definition at line 70 of file XMMSOut.hh. Referenced by About(), and OnAboutButton(). |
|
|
Definition at line 71 of file XMMSOut.hh. Referenced by clXMMSOut(), Configure(), and OnButtonClick(). |
|
|
Definition at line 72 of file XMMSOut.hh. Referenced by Configure(). |
|
|
Definition at line 73 of file XMMSOut.hh. Referenced by Configure(). |
|
|
Definition at line 74 of file XMMSOut.hh. Referenced by Configure(). |
|
|
Definition at line 75 of file XMMSOut.hh. Referenced by Configure(), and OnButtonClick(). |
|
|
Definition at line 76 of file XMMSOut.hh. Referenced by Configure(). |
|
|
Definition at line 77 of file XMMSOut.hh. Referenced by Configure(), and OnButtonClick(). |
|
|
Definition at line 78 of file XMMSOut.hh. Referenced by Configure(), and OnButtonClick(). |
|
|
Definition at line 79 of file XMMSOut.hh. Referenced by Configure(), and OnButtonClick(). |
1.3.3