Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SpeakerServer Class Reference#include <SpeakerServer.h>
Inheritance diagram for SpeakerServer:
![]() Detailed DescriptionPlays streamed audio via the speaker.Definition at line 9 of file SpeakerServer.h.
Constructor & Destructor Documentation
don't call
Member Function Documentation
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase. Definition at line 35 of file SpeakerServer.cc.
By default, subtracts from the reference counter (RemoveReference()), and thus may deletex if zero; Don't forget to still call this when you override this; Warning: call this at the end of your DoStop(), not beginning (it might
Reimplemented from BehaviorBase. Definition at line 54 of file SpeakerServer.cc.
registered by DoStart() to be called by networking module with incoming data
Definition at line 72 of file SpeakerServer.cc. Referenced by DoStart().
don't call
should be called with new sound data from the network
Definition at line 91 of file SpeakerServer.cc. Referenced by socket_callback().
returns the next sizeof(short) bytes from buf as a short
Definition at line 29 of file SpeakerServer.h. Referenced by GotSocketData().
Member Data Documentation
global instance of the server (only ever want to have one of these)
Definition at line 24 of file SpeakerServer.h. Referenced by getInstance(), socket_callback(), and ~SpeakerServer().
network communications socket for receiving sound data Definition at line 27 of file SpeakerServer.h.
maximum size of sound buffer to send to system
Definition at line 31 of file SpeakerServer.h. Referenced by GotSocketData().
maximum network packet size to accept
Definition at line 32 of file SpeakerServer.h. Referenced by DoStart().
Definition at line 56 of file SpeakerServer.h. Referenced by DoStart(), DoStop(), and GotSocketData().
Definition at line 57 of file SpeakerServer.h. Referenced by AddPacket(), DoStop(), and ~SpeakerServer().
Definition at line 58 of file SpeakerServer.h. Referenced by DoStop(), ResampleForSpeaker(), and ~SpeakerServer().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:42 2007 by Doxygen 1.5.4 |