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
e9898f76
Commit
e9898f76
authored
Nov 17, 2019
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enable sync/data bit re-ordering step.
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
63809d2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
audiowmark.cc
src/audiowmark.cc
+3
-3
No files found.
src/audiowmark.cc
View file @
e9898f76
...
...
@@ -590,7 +590,7 @@ mark_data_stream (vector<vector<FrameDelta>>& frame_mod, const vector<int>& bitv
// sync block always written in linear order (no mix)
for
(
int
f
=
0
;
f
<
frame_count
;
f
++
)
{
size_t
index
=
mark_sync_frame_count
()
+
f
;
// data_frame_pos (f); FIXME enable bit reordering
size_t
index
=
data_frame_pos
(
f
);
prepare_frame_delta
(
f
,
frame_mod
[
index
],
bitvec
[
f
/
Params
::
frames_per_bit
],
Random
::
Stream
::
data_up_down
);
// FIXME: rename
}
...
...
@@ -631,10 +631,10 @@ mark_sync_stream (vector<vector<FrameDelta>>& frame_mod, int ab)
// sync block always written in linear order (no mix)
for
(
int
f
=
0
;
f
<
frame_count
;
f
++
)
{
size_t
index
=
f
;
// sync_frame_pos (f); FIXME enable bit reordering
size_t
index
=
sync_frame_pos
(
f
);
int
data_bit
=
(
f
/
Params
::
sync_frames_per_bit
+
ab
)
&
1
;
/* write 010101 for a block, 101010 for b block */
prepare_frame_delta
(
index
,
frame_mod
[
f
],
data_bit
,
Random
::
Stream
::
sync_up_down
);
// FIXME: rename
prepare_frame_delta
(
f
,
frame_mod
[
index
],
data_bit
,
Random
::
Stream
::
sync_up_down
);
// FIXME: rename
}
}
...
...
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