Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

RTPAVProfileSampleBasedAudioSender.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           RTPAVProfileSampleBasedAudioSender.h  -  description
00003                              -------------------
00004     begin                : Sat Sep 21 2002
00005     copyright            : (C) 2002 by 
00006     email                : 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00023 #ifndef __RTPAVPROFILESAMPLEBASEDAUDIOSENDER_H__
00024 #define __RTPAVPROFILESAMPLEBASEDAUDIOSENDER_H__
00025 
00026 
00027 #include "RTPPayloadSender.h"
00028 
00029 
00038 class RTPAVProfileSampleBasedAudioSender : public RTPPayloadSender {
00039 
00040         Module_Class_Members(RTPAVProfileSampleBasedAudioSender, RTPPayloadSender, 8192);
00041 
00042         protected:
00043 
00047                 AFfilehandle _audioFile;
00048 
00052                 simtime_t _startTime;
00053 
00057                 int _samplingRate;
00058 
00063                 int _sampleWidth;
00064 
00068                 int _numberOfChannels;
00069 
00070 
00074                 virtual void initializeSenderModule(RTPInnerPacket *);
00075 
00076                 virtual void openSourceFile(const char *fileName);
00077                 virtual void closeSourceFile();
00078 
00079                 virtual void play();
00080                 virtual void stop();
00081                 virtual void seekTime(simtime_t moment);
00082                 virtual void seekByte(int position);
00083 
00084                 virtual bool sendPacket();
00085 
00086 };
00087 
00088 #endif

Generated on Tue Sep 12 12:20:20 2006 for RTP model for OMNeT++ by  doxygen 1.4.2