Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ITADataSources
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institute of Technical Acoustics (ITA)
ITADataSources
Commits
db336c73
Commit
db336c73
authored
8 years ago
by
Jonas Stienen
Browse files
Options
Downloads
Patches
Plain Diff
Switching to 64 blocks / 128 samples target latency (32 does not work for hammerfall dsp)
parent
c5561a1d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/NetAudio/ITANetAudioStreamingClientTest.cpp
+1
-1
1 addition, 1 deletion
tests/NetAudio/ITANetAudioStreamingClientTest.cpp
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
+2
-2
2 additions, 2 deletions
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
with
3 additions
and
3 deletions
tests/NetAudio/ITANetAudioStreamingClientTest.cpp
+
1
−
1
View file @
db336c73
...
@@ -16,7 +16,7 @@ using namespace std;
...
@@ -16,7 +16,7 @@ using namespace std;
string
g_sServerName
=
"localhost"
;
string
g_sServerName
=
"localhost"
;
int
g_iServerPort
=
12480
;
int
g_iServerPort
=
12480
;
double
g_dSampleRate
=
44100.0
;
double
g_dSampleRate
=
44100.0
;
int
g_iBlockLength
=
32
;
int
g_iBlockLength
=
64
;
int
g_iChannels
=
2
;
int
g_iChannels
=
2
;
int
g_iRingBufferSize
=
2048
;
// 22ms max
int
g_iRingBufferSize
=
2048
;
// 22ms max
double
g_dPlaybackDuration
=
10
;
// seconds
double
g_dPlaybackDuration
=
10
;
// seconds
...
...
This diff is collapsed.
Click to expand it.
tests/NetAudio/ITANetAudioStreamingServerTest.cpp
+
2
−
2
View file @
db336c73
...
@@ -13,9 +13,9 @@ using namespace std;
...
@@ -13,9 +13,9 @@ using namespace std;
string
g_sServerName
=
"localhost"
;
string
g_sServerName
=
"localhost"
;
int
g_iServerPort
=
12480
;
int
g_iServerPort
=
12480
;
double
g_dSampleRate
=
44100.0
;
double
g_dSampleRate
=
44100.0
;
int
g_iBlockLength
=
32
;
int
g_iBlockLength
=
64
;
int
g_iChannels
=
2
;
int
g_iChannels
=
2
;
int
g_iTargetLatencySamples
=
64
;
// 1.4512ms
int
g_iTargetLatencySamples
=
128
;
// 1.4512ms
double
g_dClientStatusMessageTimeout
=
0.1
;
// seconds
double
g_dClientStatusMessageTimeout
=
0.1
;
// seconds
string
g_sFileName
=
"gershwin-mono.wav"
;
string
g_sFileName
=
"gershwin-mono.wav"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment