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
960e909f
Commit
960e909f
authored
Mar 29, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding debug switch for NetAudio server test
parent
45cc77b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
+2
-1
No files found.
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
View file @
960e909f
...
...
@@ -22,6 +22,7 @@ int g_iRingBufferSize = 2 * g_iTargetLatencySamples;
int
g_iSendingBlockLength
=
8
;
double
g_dClientStatusMessageTimeout
=
0.001
;
// seconds
string
g_sFileName
=
"gershwin-mono.wav"
;
bool
g_bDebuggingEnabled
=
true
;
int
main
(
int
argc
,
char
**
argv
)
{
...
...
@@ -72,7 +73,7 @@ int main( int argc, char** argv )
ss
<<
"_RB"
<<
g_iRingBufferSize
;
ss
<<
"_SB"
<<
g_iSendingBlockLength
;
oStreamingServer
.
SetServerLogBaseName
(
ss
.
str
()
);
oStreamingServer
.
SetDebuggingEnabled
(
true
);
oStreamingServer
.
SetDebuggingEnabled
(
g_bDebuggingEnabled
);
oStreamingServer
.
SetInputStream
(
&
oMuliplier
);
oStreamingServer
.
SetTargetLatencySamples
(
g_iTargetLatencySamples
);
...
...
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