Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
ITADataSources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
ITADataSources
Commits
eda36a17
Commit
eda36a17
authored
Dec 20, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile clean
parent
2c9a0225
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
include/ITANetAudioStreamingServer.h
include/ITANetAudioStreamingServer.h
+2
-0
src/ITANetAudioStreamingServer.cpp
src/ITANetAudioStreamingServer.cpp
+5
-0
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
+1
-2
No files found.
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
Markdown
is supported
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