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
a7550317
Commit
a7550317
authored
Jun 06, 2020
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make RawConverter destructor virtual (fix clang++ warning).
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
14f1be35
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
rawconverter.cc
src/rawconverter.cc
+4
-0
rawconverter.hh
src/rawconverter.hh
+2
-0
No files found.
src/rawconverter.cc
View file @
a7550317
...
@@ -21,6 +21,10 @@
...
@@ -21,6 +21,10 @@
using
std
::
vector
;
using
std
::
vector
;
RawConverter
::~
RawConverter
()
{
}
template
<
int
BIT_DEPTH
,
RawFormat
::
Endian
ENDIAN
,
RawFormat
::
Encoding
ENCODING
>
template
<
int
BIT_DEPTH
,
RawFormat
::
Endian
ENDIAN
,
RawFormat
::
Encoding
ENCODING
>
class
RawConverterImpl
:
public
RawConverter
class
RawConverterImpl
:
public
RawConverter
{
{
...
...
src/rawconverter.hh
View file @
a7550317
...
@@ -25,6 +25,8 @@ class RawConverter
...
@@ -25,6 +25,8 @@ class RawConverter
public
:
public
:
static
RawConverter
*
create
(
const
RawFormat
&
raw_format
,
Error
&
error
);
static
RawConverter
*
create
(
const
RawFormat
&
raw_format
,
Error
&
error
);
virtual
~
RawConverter
()
=
0
;
virtual
void
to_raw
(
const
std
::
vector
<
float
>&
samples
,
std
::
vector
<
unsigned
char
>&
bytes
)
=
0
;
virtual
void
to_raw
(
const
std
::
vector
<
float
>&
samples
,
std
::
vector
<
unsigned
char
>&
bytes
)
=
0
;
virtual
void
from_raw
(
const
std
::
vector
<
unsigned
char
>&
bytes
,
std
::
vector
<
float
>&
samples
)
=
0
;
virtual
void
from_raw
(
const
std
::
vector
<
unsigned
char
>&
bytes
,
std
::
vector
<
float
>&
samples
)
=
0
;
};
};
...
...
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