VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
streamAudio.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
8 #include <makRadio/export.h>
9 
10 #include <vlpi/entityIdentifier.h>
11 #include <vector>
12 
13 
14 namespace makRadio
15 {
16 
18  {
19  public:
20  enum Format {Format_MONO8, Format_MONO16, Format_STEREO8, Format_STEREO16, Format_MLAW8};
21 
23  virtual ~StreamAudioMessage();
24 
25 
26  virtual DtEntityIdentifier getEntityId() const;
27  virtual void setEntityId(DtEntityIdentifier val);
28 
29  virtual unsigned int getRadioId() const;
30  virtual void setRadioId(unsigned int val);
31 
32  virtual unsigned long long getStreamId() const;
33  virtual void setStreamId(unsigned long long val);
34 
35  virtual unsigned int getSampleRate() const;
36  virtual void setSampleRate(unsigned int val);
37 
38  virtual unsigned int getSampleCount() const;
39  virtual void setSampleCount(unsigned int val);
40 
41  virtual Format getFormat() const;
42  virtual void setFormat(Format val);
43 
44  virtual const std::vector<unsigned char>& getData() const;
45  virtual void setData(const std::vector<unsigned char>& val);
46 
47  protected:
48  DtEntityIdentifier myEntityId;
49  unsigned int myRadioId;
50  unsigned long long myStreamId;
51  unsigned int mySampleRate;
52  unsigned int mySampleCount;
54  std::vector<unsigned char> myData;
55 
56  };
57 
58 }
59 
60 
unsigned long long myStreamId
Definition: streamAudio.h:50
Format myFormat
Definition: streamAudio.h:53
Format
Definition: streamAudio.h:20
unsigned int myRadioId
Definition: streamAudio.h:49
DtEntityIdentifier myEntityId
Definition: streamAudio.h:48
#define DT_DLL_MAKRADIO
Get proper local export symbol.
Definition: export.h:17
unsigned int mySampleRate
Definition: streamAudio.h:51
std::vector< unsigned char > myData
Definition: streamAudio.h:54
Definition: streamAudio.h:17
unsigned int mySampleCount
Definition: streamAudio.h:52

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)