Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
13d51420
Commit
13d51420
authored
Nov 04, 2020
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'macos-fixes'
parents
c9c3b7bf
3f69aa2b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
2 deletions
+10
-2
Makefile.am
src/Makefile.am
+2
-0
rawconverter.cc
src/rawconverter.cc
+2
-0
rawinputstream.cc
src/rawinputstream.cc
+1
-0
rawoutputstream.cc
src/rawoutputstream.cc
+1
-0
testrandom.cc
src/testrandom.cc
+4
-2
No files found.
src/Makefile.am
View file @
13d51420
...
...
@@ -9,6 +9,8 @@ COMMON_SRC = utils.hh utils.cc convcode.hh convcode.cc random.hh random.cc wavda
wmget.cc wmadd.cc
COMMON_LIBS
=
$(SNDFILE_LIBS)
$(FFTW_LIBS)
$(LIBGCRYPT_LIBS)
$(LIBMPG123_LIBS)
$(FFMPEG_LIBS)
AM_CXXFLAGS
=
$(SNDFILE_CFLAGS)
$(FFTW_CFLAGS)
$(LIBGCRYPT_CFLAGS)
$(LIBMPG123_CFLAGS)
$(FFMPEG_CFLAGS)
audiowmark_SOURCES
=
audiowmark.cc
$(COMMON_SRC)
audiowmark_LDFLAGS
=
$(COMMON_LIBS)
...
...
src/rawconverter.cc
View file @
13d51420
...
...
@@ -17,6 +17,8 @@
#include "rawconverter.hh"
#include <array>
#include <math.h>
using
std
::
vector
;
...
...
src/rawinputstream.cc
View file @
13d51420
...
...
@@ -20,6 +20,7 @@
#include <assert.h>
#include <string.h>
#include <errno.h>
using
std
::
string
;
using
std
::
vector
;
...
...
src/rawoutputstream.cc
View file @
13d51420
...
...
@@ -19,6 +19,7 @@
#include <assert.h>
#include <string.h>
#include <errno.h>
using
std
::
string
;
using
std
::
vector
;
...
...
src/testrandom.cc
View file @
13d51420
...
...
@@ -18,6 +18,8 @@
#include "utils.hh"
#include "random.hh"
#include <inttypes.h>
using
std
::
vector
;
using
std
::
string
;
...
...
@@ -28,7 +30,7 @@ main (int argc, char **argv)
for
(
size_t
i
=
0
;
i
<
20
;
i
++
)
{
uint64_t
x
=
rng
();
printf
(
"%016
lx
\n
"
,
x
);
printf
(
"%016
"
PRIx64
"
\n
"
,
x
);
}
uint64_t
s
=
0
;
...
...
@@ -39,7 +41,7 @@ main (int argc, char **argv)
s
+=
rng
();
}
double
t_end
=
get_time
();
printf
(
"s=%016
lx
\n\n
"
,
s
);
printf
(
"s=%016
"
PRIx64
"
\n\n
"
,
s
);
printf
(
"%f Mvalues/sec
\n
"
,
runs
/
(
t_end
-
t_start
)
/
1000000
);
}
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