Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITADataSources
Commits
433477b4
Commit
433477b4
authored
Dec 16, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
More network protocol
parent
bd3a1c22
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ITANetAudioProtocol.h
View file @
433477b4
...
...
@@ -42,8 +42,9 @@ class VistaConnectionIP;
/**
* Declaration of message types
*/
struct
ITA_DATA_SOURCES_API
CITANetAudioProtocol
class
ITA_DATA_SOURCES_API
CITANetAudioProtocol
{
public:
static
const
int
NET_AUDIO_VERSION
=
1
;
static
const
int
NP_INVALID
=
-
1
;
...
...
@@ -56,6 +57,15 @@ struct ITA_DATA_SOURCES_API CITANetAudioProtocol
static
const
int
NP_SERVER_GET_RINGBUFFER_SIZE
=
201
;
static
const
int
NP_SERVER_GET_RINGBUFFER_FREE
=
202
;
static
const
int
NP_SERVER_SEND_SAMPLES
=
203
;
CITANetAudioProtocol
();
virtual
~
CITANetAudioProtocol
();
// Connection
bool
InitializeAsServer
(
CRavenNetServerImpl
*
pServer
);
bool
InitializeAsClient
(
CRavenNetClientImpl
*
pServer
,
VistaConnectionIP
*
pCommandChannel
,
VistaConnectionIP
*
pHeadChannel
,
int
iExceptionhandlingmode
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment