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
14f1be35
Commit
14f1be35
authored
Jun 06, 2020
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few override declarations to avoid clang++ warnings.
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
f19a718f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
mp3inputstream.hh
src/mp3inputstream.hh
+1
-1
rawoutputstream.hh
src/rawoutputstream.hh
+1
-1
sfinputstream.hh
src/sfinputstream.hh
+2
-2
stdoutwavoutputstream.hh
src/stdoutwavoutputstream.hh
+1
-1
No files found.
src/mp3inputstream.hh
View file @
14f1be35
...
...
@@ -44,7 +44,7 @@ public:
~
MP3InputStream
();
Error
open
(
const
std
::
string
&
filename
);
Error
read_frames
(
std
::
vector
<
float
>&
samples
,
size_t
count
);
Error
read_frames
(
std
::
vector
<
float
>&
samples
,
size_t
count
)
override
;
void
close
();
int
bit_depth
()
const
override
;
...
...
src/rawoutputstream.hh
View file @
14f1be35
...
...
@@ -45,7 +45,7 @@ public:
Error
open
(
const
std
::
string
&
filename
,
const
RawFormat
&
format
);
Error
write_frames
(
const
std
::
vector
<
float
>&
frames
)
override
;
Error
close
();
Error
close
()
override
;
};
#endif
/* AUDIOWMARK_RAW_OUTPUT_STREAM_HH */
src/sfinputstream.hh
View file @
14f1be35
...
...
@@ -43,11 +43,11 @@ public:
~
SFInputStream
();
Error
open
(
const
std
::
string
&
filename
);
Error
read_frames
(
std
::
vector
<
float
>&
samples
,
size_t
count
);
Error
read_frames
(
std
::
vector
<
float
>&
samples
,
size_t
count
)
override
;
void
close
();
int
n_channels
()
const
n_channels
()
const
override
{
return
m_n_channels
;
}
...
...
src/stdoutwavoutputstream.hh
View file @
14f1be35
...
...
@@ -44,7 +44,7 @@ public:
Error
open
(
int
n_channels
,
int
sample_rate
,
int
bit_depth
,
size_t
n_frames
);
Error
write_frames
(
const
std
::
vector
<
float
>&
frames
)
override
;
Error
close
();
Error
close
()
override
;
int
sample_rate
()
const
override
;
int
bit_depth
()
const
override
;
int
n_channels
()
const
override
;
...
...
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