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
bc6eca21
Commit
bc6eca21
authored
Feb 01, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: add `explicit`
parent
72ec641f
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
32 additions
and
32 deletions
+32
-32
Iso9660ArchivePlugin.cxx
src/archive/plugins/Iso9660ArchivePlugin.cxx
+1
-1
ZzipArchivePlugin.cxx
src/archive/plugins/ZzipArchivePlugin.cxx
+1
-1
Directory.cxx
src/db/plugins/upnp/Directory.cxx
+1
-1
FlacEncoderPlugin.cxx
src/encoder/plugins/FlacEncoderPlugin.cxx
+1
-1
LameEncoderPlugin.cxx
src/encoder/plugins/LameEncoderPlugin.cxx
+1
-1
OpusEncoderPlugin.cxx
src/encoder/plugins/OpusEncoderPlugin.cxx
+1
-1
ShineEncoderPlugin.cxx
src/encoder/plugins/ShineEncoderPlugin.cxx
+1
-1
TwolameEncoderPlugin.cxx
src/encoder/plugins/TwolameEncoderPlugin.cxx
+1
-1
VorbisEncoderPlugin.cxx
src/encoder/plugins/VorbisEncoderPlugin.cxx
+1
-1
WaveEncoderPlugin.cxx
src/encoder/plugins/WaveEncoderPlugin.cxx
+1
-1
SignalMonitor.cxx
src/event/SignalMonitor.cxx
+1
-1
AutoConvertFilterPlugin.cxx
src/filter/plugins/AutoConvertFilterPlugin.cxx
+1
-1
ConvertFilterPlugin.cxx
src/filter/plugins/ConvertFilterPlugin.cxx
+1
-1
NormalizeFilterPlugin.cxx
src/filter/plugins/NormalizeFilterPlugin.cxx
+1
-1
RouteFilterPlugin.cxx
src/filter/plugins/RouteFilterPlugin.cxx
+1
-1
AlsaInputPlugin.cxx
src/input/plugins/AlsaInputPlugin.cxx
+1
-1
Device.cxx
src/lib/upnp/Device.cxx
+1
-1
NullMixerPlugin.cxx
src/mixer/plugins/NullMixerPlugin.cxx
+1
-1
SoftwareMixerPlugin.cxx
src/mixer/plugins/SoftwareMixerPlugin.cxx
+1
-1
SmbclientNeighborPlugin.cxx
src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+1
-1
AoOutputPlugin.cxx
src/output/plugins/AoOutputPlugin.cxx
+1
-1
FifoOutputPlugin.cxx
src/output/plugins/FifoOutputPlugin.cxx
+1
-1
NullOutputPlugin.cxx
src/output/plugins/NullOutputPlugin.cxx
+1
-1
OpenALOutputPlugin.cxx
src/output/plugins/OpenALOutputPlugin.cxx
+1
-1
PipeOutputPlugin.cxx
src/output/plugins/PipeOutputPlugin.cxx
+1
-1
RecorderOutputPlugin.cxx
src/output/plugins/RecorderOutputPlugin.cxx
+1
-1
PcmFormat.cxx
src/pcm/PcmFormat.cxx
+2
-2
CuePlaylistPlugin.cxx
src/playlist/plugins/CuePlaylistPlugin.cxx
+1
-1
ExtM3uPlaylistPlugin.cxx
src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
+1
-1
M3uPlaylistPlugin.cxx
src/playlist/plugins/M3uPlaylistPlugin.cxx
+1
-1
LocalStorage.cxx
src/storage/plugins/LocalStorage.cxx
+1
-1
No files found.
src/archive/plugins/Iso9660ArchivePlugin.cxx
View file @
bc6eca21
...
@@ -62,7 +62,7 @@ class Iso9660ArchiveFile final : public ArchiveFile {
...
@@ -62,7 +62,7 @@ class Iso9660ArchiveFile final : public ArchiveFile {
std
::
shared_ptr
<
Iso9660
>
iso
;
std
::
shared_ptr
<
Iso9660
>
iso
;
public
:
public
:
Iso9660ArchiveFile
(
std
::
shared_ptr
<
Iso9660
>
&&
_iso
)
explicit
Iso9660ArchiveFile
(
std
::
shared_ptr
<
Iso9660
>
&&
_iso
)
:
iso
(
std
::
move
(
_iso
))
{}
:
iso
(
std
::
move
(
_iso
))
{}
/**
/**
...
...
src/archive/plugins/ZzipArchivePlugin.cxx
View file @
bc6eca21
...
@@ -54,7 +54,7 @@ class ZzipArchiveFile final : public ArchiveFile {
...
@@ -54,7 +54,7 @@ class ZzipArchiveFile final : public ArchiveFile {
std
::
shared_ptr
<
ZzipDir
>
dir
;
std
::
shared_ptr
<
ZzipDir
>
dir
;
public
:
public
:
ZzipArchiveFile
(
std
::
shared_ptr
<
ZzipDir
>
&&
_dir
)
explicit
ZzipArchiveFile
(
std
::
shared_ptr
<
ZzipDir
>
&&
_dir
)
:
dir
(
std
::
move
(
_dir
))
{}
:
dir
(
std
::
move
(
_dir
))
{}
void
Visit
(
ArchiveVisitor
&
visitor
)
override
;
void
Visit
(
ArchiveVisitor
&
visitor
)
override
;
...
...
src/db/plugins/upnp/Directory.cxx
View file @
bc6eca21
...
@@ -111,7 +111,7 @@ class UPnPDirParser final : public CommonExpatParser {
...
@@ -111,7 +111,7 @@ class UPnPDirParser final : public CommonExpatParser {
TagBuilder
tag
;
TagBuilder
tag
;
public
:
public
:
UPnPDirParser
(
UPnPDirContent
&
_directory
)
explicit
UPnPDirParser
(
UPnPDirContent
&
_directory
)
:
directory
(
_directory
),
:
directory
(
_directory
),
state
(
NONE
),
state
(
NONE
),
tag_type
(
TAG_NUM_OF_ITEM_TYPES
)
tag_type
(
TAG_NUM_OF_ITEM_TYPES
)
...
...
src/encoder/plugins/FlacEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -82,7 +82,7 @@ class PreparedFlacEncoder final : public PreparedEncoder {
...
@@ -82,7 +82,7 @@ class PreparedFlacEncoder final : public PreparedEncoder {
const
unsigned
compression
;
const
unsigned
compression
;
public
:
public
:
PreparedFlacEncoder
(
const
ConfigBlock
&
block
);
explicit
PreparedFlacEncoder
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedEncoder */
/* virtual methods from class PreparedEncoder */
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
...
...
src/encoder/plugins/LameEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -57,7 +57,7 @@ class PreparedLameEncoder final : public PreparedEncoder {
...
@@ -57,7 +57,7 @@ class PreparedLameEncoder final : public PreparedEncoder {
int
bitrate
;
int
bitrate
;
public
:
public
:
PreparedLameEncoder
(
const
ConfigBlock
&
block
);
explicit
PreparedLameEncoder
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedEncoder */
/* virtual methods from class PreparedEncoder */
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
...
...
src/encoder/plugins/OpusEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -79,7 +79,7 @@ class PreparedOpusEncoder final : public PreparedEncoder {
...
@@ -79,7 +79,7 @@ class PreparedOpusEncoder final : public PreparedEncoder {
const
bool
chaining
;
const
bool
chaining
;
public
:
public
:
PreparedOpusEncoder
(
const
ConfigBlock
&
block
);
explicit
PreparedOpusEncoder
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedEncoder */
/* virtual methods from class PreparedEncoder */
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
...
...
src/encoder/plugins/ShineEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -86,7 +86,7 @@ class PreparedShineEncoder final : public PreparedEncoder {
...
@@ -86,7 +86,7 @@ class PreparedShineEncoder final : public PreparedEncoder {
shine_config_t
config
;
shine_config_t
config
;
public
:
public
:
PreparedShineEncoder
(
const
ConfigBlock
&
block
);
explicit
PreparedShineEncoder
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedEncoder */
/* virtual methods from class PreparedEncoder */
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
...
...
src/encoder/plugins/TwolameEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -73,7 +73,7 @@ class PreparedTwolameEncoder final : public PreparedEncoder {
...
@@ -73,7 +73,7 @@ class PreparedTwolameEncoder final : public PreparedEncoder {
int
bitrate
;
int
bitrate
;
public
:
public
:
PreparedTwolameEncoder
(
const
ConfigBlock
&
block
);
explicit
PreparedTwolameEncoder
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedEncoder */
/* virtual methods from class PreparedEncoder */
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
...
...
src/encoder/plugins/VorbisEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -65,7 +65,7 @@ class PreparedVorbisEncoder final : public PreparedEncoder {
...
@@ -65,7 +65,7 @@ class PreparedVorbisEncoder final : public PreparedEncoder {
int
bitrate
;
int
bitrate
;
public
:
public
:
PreparedVorbisEncoder
(
const
ConfigBlock
&
block
);
explicit
PreparedVorbisEncoder
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedEncoder */
/* virtual methods from class PreparedEncoder */
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
Encoder
*
Open
(
AudioFormat
&
audio_format
)
override
;
...
...
src/encoder/plugins/WaveEncoderPlugin.cxx
View file @
bc6eca21
...
@@ -33,7 +33,7 @@ class WaveEncoder final : public Encoder {
...
@@ -33,7 +33,7 @@ class WaveEncoder final : public Encoder {
DynamicFifoBuffer
<
uint8_t
>
buffer
;
DynamicFifoBuffer
<
uint8_t
>
buffer
;
public
:
public
:
WaveEncoder
(
AudioFormat
&
audio_format
)
noexcept
;
explicit
WaveEncoder
(
AudioFormat
&
audio_format
)
noexcept
;
/* virtual methods from class Encoder */
/* virtual methods from class Encoder */
void
Write
(
const
void
*
data
,
size_t
length
)
override
;
void
Write
(
const
void
*
data
,
size_t
length
)
override
;
...
...
src/event/SignalMonitor.cxx
View file @
bc6eca21
...
@@ -53,7 +53,7 @@ class SignalMonitor final : private SocketMonitor {
...
@@ -53,7 +53,7 @@ class SignalMonitor final : private SocketMonitor {
#endif
#endif
public
:
public
:
SignalMonitor
(
EventLoop
&
_loop
)
explicit
SignalMonitor
(
EventLoop
&
_loop
)
:
SocketMonitor
(
_loop
)
{
:
SocketMonitor
(
_loop
)
{
#ifndef USE_SIGNALFD
#ifndef USE_SIGNALFD
SocketMonitor
::
Open
(
SocketDescriptor
(
fd
.
Get
()));
SocketMonitor
::
Open
(
SocketDescriptor
(
fd
.
Get
()));
...
...
src/filter/plugins/AutoConvertFilterPlugin.cxx
View file @
bc6eca21
...
@@ -64,7 +64,7 @@ class PreparedAutoConvertFilter final : public PreparedFilter {
...
@@ -64,7 +64,7 @@ class PreparedAutoConvertFilter final : public PreparedFilter {
std
::
unique_ptr
<
PreparedFilter
>
filter
;
std
::
unique_ptr
<
PreparedFilter
>
filter
;
public
:
public
:
PreparedAutoConvertFilter
(
std
::
unique_ptr
<
PreparedFilter
>
_filter
)
noexcept
explicit
PreparedAutoConvertFilter
(
std
::
unique_ptr
<
PreparedFilter
>
_filter
)
noexcept
:
filter
(
std
::
move
(
_filter
))
{}
:
filter
(
std
::
move
(
_filter
))
{}
std
::
unique_ptr
<
Filter
>
Open
(
AudioFormat
&
af
)
override
;
std
::
unique_ptr
<
Filter
>
Open
(
AudioFormat
&
af
)
override
;
...
...
src/filter/plugins/ConvertFilterPlugin.cxx
View file @
bc6eca21
...
@@ -42,7 +42,7 @@ class ConvertFilter final : public Filter {
...
@@ -42,7 +42,7 @@ class ConvertFilter final : public Filter {
std
::
unique_ptr
<
PcmConvert
>
state
;
std
::
unique_ptr
<
PcmConvert
>
state
;
public
:
public
:
ConvertFilter
(
const
AudioFormat
&
audio_format
);
explicit
ConvertFilter
(
const
AudioFormat
&
audio_format
);
void
Set
(
const
AudioFormat
&
_out_audio_format
);
void
Set
(
const
AudioFormat
&
_out_audio_format
);
...
...
src/filter/plugins/NormalizeFilterPlugin.cxx
View file @
bc6eca21
...
@@ -34,7 +34,7 @@ class NormalizeFilter final : public Filter {
...
@@ -34,7 +34,7 @@ class NormalizeFilter final : public Filter {
PcmBuffer
buffer
;
PcmBuffer
buffer
;
public
:
public
:
NormalizeFilter
(
const
AudioFormat
&
audio_format
)
explicit
NormalizeFilter
(
const
AudioFormat
&
audio_format
)
:
Filter
(
audio_format
),
compressor
(
Compressor_new
(
0
))
{
:
Filter
(
audio_format
),
compressor
(
Compressor_new
(
0
))
{
}
}
...
...
src/filter/plugins/RouteFilterPlugin.cxx
View file @
bc6eca21
...
@@ -130,7 +130,7 @@ public:
...
@@ -130,7 +130,7 @@ public:
* @param block the configuration block to read
* @param block the configuration block to read
* @param filter a route_filter whose min_channels and sources[] to set
* @param filter a route_filter whose min_channels and sources[] to set
*/
*/
PreparedRouteFilter
(
const
ConfigBlock
&
block
);
explicit
PreparedRouteFilter
(
const
ConfigBlock
&
block
);
/* virtual methods from class PreparedFilter */
/* virtual methods from class PreparedFilter */
std
::
unique_ptr
<
Filter
>
Open
(
AudioFormat
&
af
)
override
;
std
::
unique_ptr
<
Filter
>
Open
(
AudioFormat
&
af
)
override
;
...
...
src/input/plugins/AlsaInputPlugin.cxx
View file @
bc6eca21
...
@@ -139,7 +139,7 @@ class AlsaInputStream::SourceSpec {
...
@@ -139,7 +139,7 @@ class AlsaInputStream::SourceSpec {
DivideString
components
;
DivideString
components
;
public
:
public
:
SourceSpec
(
const
char
*
_uri
)
explicit
SourceSpec
(
const
char
*
_uri
)
:
uri
(
_uri
)
:
uri
(
_uri
)
,
components
(
uri
,
'?'
)
,
components
(
uri
,
'?'
)
{
{
...
...
src/lib/upnp/Device.cxx
View file @
bc6eca21
...
@@ -40,7 +40,7 @@ class UPnPDeviceParser final : public CommonExpatParser {
...
@@ -40,7 +40,7 @@ class UPnPDeviceParser final : public CommonExpatParser {
UPnPService
m_tservice
;
UPnPService
m_tservice
;
public
:
public
:
UPnPDeviceParser
(
UPnPDevice
&
device
)
explicit
UPnPDeviceParser
(
UPnPDevice
&
device
)
:
m_device
(
device
),
:
m_device
(
device
),
value
(
nullptr
)
{}
value
(
nullptr
)
{}
...
...
src/mixer/plugins/NullMixerPlugin.cxx
View file @
bc6eca21
...
@@ -26,7 +26,7 @@ class NullMixer final : public Mixer {
...
@@ -26,7 +26,7 @@ class NullMixer final : public Mixer {
unsigned
volume
;
unsigned
volume
;
public
:
public
:
NullMixer
(
MixerListener
&
_listener
)
explicit
NullMixer
(
MixerListener
&
_listener
)
:
Mixer
(
null_mixer_plugin
,
_listener
),
:
Mixer
(
null_mixer_plugin
,
_listener
),
volume
(
100
)
volume
(
100
)
{
{
...
...
src/mixer/plugins/SoftwareMixerPlugin.cxx
View file @
bc6eca21
...
@@ -34,7 +34,7 @@ class SoftwareMixer final : public Mixer {
...
@@ -34,7 +34,7 @@ class SoftwareMixer final : public Mixer {
unsigned
volume
=
100
;
unsigned
volume
=
100
;
public
:
public
:
SoftwareMixer
(
MixerListener
&
_listener
)
explicit
SoftwareMixer
(
MixerListener
&
_listener
)
:
Mixer
(
software_mixer_plugin
,
_listener
)
:
Mixer
(
software_mixer_plugin
,
_listener
)
{
{
}
}
...
...
src/neighbor/plugins/SmbclientNeighborPlugin.cxx
View file @
bc6eca21
...
@@ -66,7 +66,7 @@ class SmbclientNeighborExplorer final : public NeighborExplorer {
...
@@ -66,7 +66,7 @@ class SmbclientNeighborExplorer final : public NeighborExplorer {
bool
quit
;
bool
quit
;
public
:
public
:
SmbclientNeighborExplorer
(
NeighborListener
&
_listener
)
noexcept
explicit
SmbclientNeighborExplorer
(
NeighborListener
&
_listener
)
noexcept
:
NeighborExplorer
(
_listener
),
:
NeighborExplorer
(
_listener
),
thread
(
BIND_THIS_METHOD
(
ThreadFunc
))
{}
thread
(
BIND_THIS_METHOD
(
ThreadFunc
))
{}
...
...
src/output/plugins/AoOutputPlugin.cxx
View file @
bc6eca21
...
@@ -52,7 +52,7 @@ class AoOutput final : AudioOutput, SafeSingleton<AoInit> {
...
@@ -52,7 +52,7 @@ class AoOutput final : AudioOutput, SafeSingleton<AoInit> {
size_t
frame_size
;
size_t
frame_size
;
AoOutput
(
const
ConfigBlock
&
block
);
explicit
AoOutput
(
const
ConfigBlock
&
block
);
~
AoOutput
()
override
;
~
AoOutput
()
override
;
public
:
public
:
...
...
src/output/plugins/FifoOutputPlugin.cxx
View file @
bc6eca21
...
@@ -42,7 +42,7 @@ class FifoOutput final : AudioOutput {
...
@@ -42,7 +42,7 @@ class FifoOutput final : AudioOutput {
Timer
*
timer
;
Timer
*
timer
;
public
:
public
:
FifoOutput
(
const
ConfigBlock
&
block
);
explicit
FifoOutput
(
const
ConfigBlock
&
block
);
~
FifoOutput
()
override
{
~
FifoOutput
()
override
{
CloseFifo
();
CloseFifo
();
...
...
src/output/plugins/NullOutputPlugin.cxx
View file @
bc6eca21
...
@@ -27,7 +27,7 @@ class NullOutput final : AudioOutput {
...
@@ -27,7 +27,7 @@ class NullOutput final : AudioOutput {
Timer
*
timer
;
Timer
*
timer
;
public
:
public
:
NullOutput
(
const
ConfigBlock
&
block
)
explicit
NullOutput
(
const
ConfigBlock
&
block
)
:
AudioOutput
(
0
),
:
AudioOutput
(
0
),
sync
(
block
.
GetBlockValue
(
"sync"
,
true
))
{}
sync
(
block
.
GetBlockValue
(
"sync"
,
true
))
{}
...
...
src/output/plugins/OpenALOutputPlugin.cxx
View file @
bc6eca21
...
@@ -44,7 +44,7 @@ class OpenALOutput final : AudioOutput {
...
@@ -44,7 +44,7 @@ class OpenALOutput final : AudioOutput {
ALenum
format
;
ALenum
format
;
ALuint
frequency
;
ALuint
frequency
;
OpenALOutput
(
const
ConfigBlock
&
block
);
explicit
OpenALOutput
(
const
ConfigBlock
&
block
);
public
:
public
:
static
AudioOutput
*
Create
(
EventLoop
&
,
static
AudioOutput
*
Create
(
EventLoop
&
,
...
...
src/output/plugins/PipeOutputPlugin.cxx
View file @
bc6eca21
...
@@ -30,7 +30,7 @@ class PipeOutput final : AudioOutput {
...
@@ -30,7 +30,7 @@ class PipeOutput final : AudioOutput {
const
std
::
string
cmd
;
const
std
::
string
cmd
;
FILE
*
fh
;
FILE
*
fh
;
PipeOutput
(
const
ConfigBlock
&
block
);
explicit
PipeOutput
(
const
ConfigBlock
&
block
);
public
:
public
:
static
AudioOutput
*
Create
(
EventLoop
&
,
static
AudioOutput
*
Create
(
EventLoop
&
,
...
...
src/output/plugins/RecorderOutputPlugin.cxx
View file @
bc6eca21
...
@@ -67,7 +67,7 @@ class RecorderOutput final : AudioOutput {
...
@@ -67,7 +67,7 @@ class RecorderOutput final : AudioOutput {
*/
*/
FileOutputStream
*
file
;
FileOutputStream
*
file
;
RecorderOutput
(
const
ConfigBlock
&
block
);
explicit
RecorderOutput
(
const
ConfigBlock
&
block
);
public
:
public
:
static
AudioOutput
*
Create
(
EventLoop
&
,
const
ConfigBlock
&
block
)
{
static
AudioOutput
*
Create
(
EventLoop
&
,
const
ConfigBlock
&
block
)
{
...
...
src/pcm/PcmFormat.cxx
View file @
bc6eca21
...
@@ -53,7 +53,7 @@ struct Convert24To16 {
...
@@ -53,7 +53,7 @@ struct Convert24To16 {
PcmDither
&
dither
;
PcmDither
&
dither
;
Convert24To16
(
PcmDither
&
_dither
)
:
dither
(
_dither
)
{}
explicit
Convert24To16
(
PcmDither
&
_dither
)
:
dither
(
_dither
)
{}
void
Convert
(
int16_t
*
out
,
const
int32_t
*
in
,
size_t
n
)
{
void
Convert
(
int16_t
*
out
,
const
int32_t
*
in
,
size_t
n
)
{
dither
.
Dither24To16
(
out
,
in
,
in
+
n
);
dither
.
Dither24To16
(
out
,
in
,
in
+
n
);
...
@@ -66,7 +66,7 @@ struct Convert32To16 {
...
@@ -66,7 +66,7 @@ struct Convert32To16 {
PcmDither
&
dither
;
PcmDither
&
dither
;
Convert32To16
(
PcmDither
&
_dither
)
:
dither
(
_dither
)
{}
explicit
Convert32To16
(
PcmDither
&
_dither
)
:
dither
(
_dither
)
{}
void
Convert
(
int16_t
*
out
,
const
int32_t
*
in
,
size_t
n
)
{
void
Convert
(
int16_t
*
out
,
const
int32_t
*
in
,
size_t
n
)
{
dither
.
Dither32To16
(
out
,
in
,
in
+
n
);
dither
.
Dither32To16
(
out
,
in
,
in
+
n
);
...
...
src/playlist/plugins/CuePlaylistPlugin.cxx
View file @
bc6eca21
...
@@ -28,7 +28,7 @@ class CuePlaylist final : public SongEnumerator {
...
@@ -28,7 +28,7 @@ class CuePlaylist final : public SongEnumerator {
CueParser
parser
;
CueParser
parser
;
public
:
public
:
CuePlaylist
(
InputStreamPtr
&&
is
)
explicit
CuePlaylist
(
InputStreamPtr
&&
is
)
:
tis
(
std
::
move
(
is
))
{
:
tis
(
std
::
move
(
is
))
{
}
}
...
...
src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
View file @
bc6eca21
...
@@ -35,7 +35,7 @@ class ExtM3uPlaylist final : public SongEnumerator {
...
@@ -35,7 +35,7 @@ class ExtM3uPlaylist final : public SongEnumerator {
TextInputStream
tis
;
TextInputStream
tis
;
public
:
public
:
ExtM3uPlaylist
(
InputStreamPtr
&&
is
)
explicit
ExtM3uPlaylist
(
InputStreamPtr
&&
is
)
:
tis
(
std
::
move
(
is
))
{
:
tis
(
std
::
move
(
is
))
{
}
}
...
...
src/playlist/plugins/M3uPlaylistPlugin.cxx
View file @
bc6eca21
...
@@ -28,7 +28,7 @@ class M3uPlaylist final : public SongEnumerator {
...
@@ -28,7 +28,7 @@ class M3uPlaylist final : public SongEnumerator {
TextInputStream
tis
;
TextInputStream
tis
;
public
:
public
:
M3uPlaylist
(
InputStreamPtr
&&
is
)
explicit
M3uPlaylist
(
InputStreamPtr
&&
is
)
:
tis
(
std
::
move
(
is
))
{
:
tis
(
std
::
move
(
is
))
{
}
}
...
...
src/storage/plugins/LocalStorage.cxx
View file @
bc6eca21
...
@@ -36,7 +36,7 @@ class LocalDirectoryReader final : public StorageDirectoryReader {
...
@@ -36,7 +36,7 @@ class LocalDirectoryReader final : public StorageDirectoryReader {
std
::
string
name_utf8
;
std
::
string
name_utf8
;
public
:
public
:
LocalDirectoryReader
(
AllocatedPath
&&
_base_fs
)
explicit
LocalDirectoryReader
(
AllocatedPath
&&
_base_fs
)
:
base_fs
(
std
::
move
(
_base_fs
)),
reader
(
base_fs
)
{}
:
base_fs
(
std
::
move
(
_base_fs
)),
reader
(
base_fs
)
{}
/* virtual methods from class StorageDirectoryReader */
/* virtual methods from class StorageDirectoryReader */
...
...
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