Skip to content
GitLab
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
eda36a17
Commit
eda36a17
authored
Dec 20, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Compile clean
parent
2c9a0225
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/ITANetAudioStreamingServer.h
View file @
eda36a17
...
...
@@ -66,6 +66,8 @@ public:
void
SetAutomaticUpdateRate
();
bool
LoopBody
();
protected:
int
Transmit
(
const
ITASampleFrame
&
sfNewSamples
,
int
iNumSamples
);
ITADatasource
*
GetInputStream
()
const
;
...
...
src/ITANetAudioStreamingServer.cpp
View file @
eda36a17
...
...
@@ -88,6 +88,11 @@ void CITANetAudioStreamingServer::SetAutomaticUpdateRate()
m_iUpdateStrategy
=
AUTO
;
}
bool
CITANetAudioStreamingServer
::
LoopBody
()
{
return
true
;
}
ITADatasource
*
CITANetAudioStreamingServer
::
GetInputStream
()
const
{
return
m_pInputStream
;
...
...
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
View file @
eda36a17
...
...
@@ -19,9 +19,8 @@ int main( int , char** )
CITANetAudioStreamingServer
oStreamingServer
;
oStreamingServer
.
SetInputStream
(
&
oGenerator
);
CITANetAudioServer
oServer
(
&
oStreamingServer
);
cout
<<
"Starting server and waiting for connections on '"
<<
g_sServerName
<<
"' on port "
<<
g_iServerPort
<<
endl
;
oServer
.
Start
(
g_sServerName
,
g_iServerPort
);
oS
treamingS
erver
.
Start
(
g_sServerName
,
g_iServerPort
);
int
iKey
;
cin
>>
iKey
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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