Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rdma-mwe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
rdma-mwe
Commits
9eb5b337
Commit
9eb5b337
authored
Feb 12, 2024
by
Titouan Soulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trx_play: clean unused definitions
parent
80b0d63f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
include/libtrx/trx_play.h
include/libtrx/trx_play.h
+0
-3
libtrx/trx_play.c
libtrx/trx_play.c
+1
-1
No files found.
include/libtrx/trx_play.h
View file @
9eb5b337
...
...
@@ -9,9 +9,6 @@
#include "amarisoft/trx_driver.h"
#include "common/circular_buffer.h"
#define SAMPLE_RATE_KHZ 30720
#define COMPLEX_SIZE (sizeof(TRXComplex) / sizeof(char))
struct
TRXPlayContext
{
struct
CommonCBBuffer
*
samples_buffer
;
trx_timestamp_t
last_timestamp
;
...
...
libtrx/trx_play.c
View file @
9eb5b337
...
...
@@ -33,7 +33,7 @@ int trx_play_start(TRXState *s, const TRXDriverParams2 *p) {
trx_play_ctx
->
samples_buffer
=
common_circular_buffer_create
(
samples_file_size
,
true
);
common_circular_buffer_write
(
trx_play_ctx
->
samples_buffer
,
(
void
*
)
samples_file_content
,
samples_file_size
);
printf
(
"trx_play: looping %lu frames from %s
\n
"
,
samples_file_size
/
COMPLEX_SIZE
,
trx_play_ctx
->
samples_file_path
);
printf
(
"trx_play: looping %lu frames from %s
\n
"
,
samples_file_size
/
sizeof
(
TRXComplex
)
,
trx_play_ctx
->
samples_file_path
);
fclose
(
samples_file_handle
);
free
(
trx_play_ctx
->
samples_file_path
);
...
...
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