Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
b6251c69
Commit
b6251c69
authored
Oct 26, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm/Export: add "noexcept"
parent
c51fe089
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
PcmExport.cxx
src/pcm/PcmExport.cxx
+2
-2
PcmExport.hxx
src/pcm/PcmExport.hxx
+3
-3
No files found.
src/pcm/PcmExport.cxx
View file @
b6251c69
...
...
@@ -34,7 +34,7 @@
void
PcmExport
::
Open
(
SampleFormat
sample_format
,
unsigned
_channels
,
Params
params
)
Params
params
)
noexcept
{
assert
(
audio_valid_sample_format
(
sample_format
));
...
...
@@ -149,7 +149,7 @@ PcmExport::Params::CalcInputSampleRate(unsigned sample_rate) const noexcept
}
ConstBuffer
<
void
>
PcmExport
::
Export
(
ConstBuffer
<
void
>
data
)
PcmExport
::
Export
(
ConstBuffer
<
void
>
data
)
noexcept
{
if
(
alsa_channel_order
!=
SampleFormat
::
UNDEFINED
)
data
=
ToAlsaChannelOrder
(
order_buffer
,
data
,
...
...
src/pcm/PcmExport.hxx
View file @
b6251c69
...
...
@@ -155,12 +155,12 @@ public:
* @param channels the number of channels; ignored unless dop is set
*/
void
Open
(
SampleFormat
sample_format
,
unsigned
channels
,
Params
params
);
Params
params
)
noexcept
;
/**
* Reset the filter's state, e.g. drop/flush buffers.
*/
void
Reset
()
{
void
Reset
()
noexcept
{
}
/**
...
...
@@ -175,7 +175,7 @@ public:
* @param src the source PCM buffer
* @return the destination buffer (may be a pointer to the source buffer)
*/
ConstBuffer
<
void
>
Export
(
ConstBuffer
<
void
>
src
);
ConstBuffer
<
void
>
Export
(
ConstBuffer
<
void
>
src
)
noexcept
;
/**
* Converts the number of consumed bytes from the pcm_export()
...
...
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