Format every single file using .clang-format
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
#include "AudioManagerDummy.h"
|
||||
|
||||
// Used to get the compiler to shut up about C4100: unreferenced formal parameter.
|
||||
// The cast is to get GCC to shut up about it.
|
||||
#define UNREFERENCED_PARAMETER(P) static_cast<void>((P))
|
||||
// Used to get the compiler to shut up about C4100: unreferenced formal
|
||||
// parameter. The cast is to get GCC to shut up about it.
|
||||
#define UNREFERENCED_PARAMETER( P ) static_cast<void>( ( P ) )
|
||||
|
||||
// application namespace
|
||||
namespace advsettings {
|
||||
|
||||
void AudioManagerDummy::init(AudioTabController *controller)
|
||||
namespace advsettings
|
||||
{
|
||||
void AudioManagerDummy::init( AudioTabController* controller )
|
||||
{
|
||||
// noop
|
||||
UNREFERENCED_PARAMETER(controller);
|
||||
UNREFERENCED_PARAMETER( controller );
|
||||
}
|
||||
|
||||
void AudioManagerDummy::setPlaybackDevice(const std::string &id, bool notify)
|
||||
void AudioManagerDummy::setPlaybackDevice( const std::string& id, bool notify )
|
||||
{
|
||||
// noop
|
||||
UNREFERENCED_PARAMETER(id);
|
||||
UNREFERENCED_PARAMETER(notify);
|
||||
UNREFERENCED_PARAMETER( id );
|
||||
UNREFERENCED_PARAMETER( notify );
|
||||
}
|
||||
|
||||
std::string AudioManagerDummy::getPlaybackDevName()
|
||||
@@ -30,11 +30,11 @@ std::string AudioManagerDummy::getPlaybackDevId()
|
||||
return "dummy";
|
||||
}
|
||||
|
||||
void AudioManagerDummy::setMirrorDevice(const std::string &id, bool notify)
|
||||
void AudioManagerDummy::setMirrorDevice( const std::string& id, bool notify )
|
||||
{
|
||||
// noop
|
||||
UNREFERENCED_PARAMETER(id);
|
||||
UNREFERENCED_PARAMETER(notify);
|
||||
UNREFERENCED_PARAMETER( id );
|
||||
UNREFERENCED_PARAMETER( notify );
|
||||
}
|
||||
|
||||
bool AudioManagerDummy::isMirrorValid()
|
||||
@@ -57,9 +57,9 @@ float AudioManagerDummy::getMirrorVolume()
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool AudioManagerDummy::setMirrorVolume(float value)
|
||||
bool AudioManagerDummy::setMirrorVolume( float value )
|
||||
{
|
||||
UNREFERENCED_PARAMETER(value);
|
||||
UNREFERENCED_PARAMETER( value );
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -68,9 +68,9 @@ bool AudioManagerDummy::getMirrorMuted()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AudioManagerDummy::setMirrorMuted(bool value)
|
||||
bool AudioManagerDummy::setMirrorMuted( bool value )
|
||||
{
|
||||
UNREFERENCED_PARAMETER(value);
|
||||
UNREFERENCED_PARAMETER( value );
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -79,11 +79,11 @@ bool AudioManagerDummy::isMicValid()
|
||||
return false;
|
||||
}
|
||||
|
||||
void AudioManagerDummy::setMicDevice(const std::string &id, bool notify)
|
||||
void AudioManagerDummy::setMicDevice( const std::string& id, bool notify )
|
||||
{
|
||||
// noop
|
||||
UNREFERENCED_PARAMETER(id);
|
||||
UNREFERENCED_PARAMETER(notify);
|
||||
UNREFERENCED_PARAMETER( id );
|
||||
UNREFERENCED_PARAMETER( notify );
|
||||
}
|
||||
|
||||
std::string AudioManagerDummy::getMicDevName()
|
||||
@@ -101,9 +101,9 @@ float AudioManagerDummy::getMicVolume()
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool AudioManagerDummy::setMicVolume(float value)
|
||||
bool AudioManagerDummy::setMicVolume( float value )
|
||||
{
|
||||
UNREFERENCED_PARAMETER(value);
|
||||
UNREFERENCED_PARAMETER( value );
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -112,22 +112,22 @@ bool AudioManagerDummy::getMicMuted()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AudioManagerDummy::setMicMuted(bool value)
|
||||
bool AudioManagerDummy::setMicMuted( bool value )
|
||||
{
|
||||
UNREFERENCED_PARAMETER(value);
|
||||
UNREFERENCED_PARAMETER( value );
|
||||
return false;
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, std::string> > AudioManagerDummy::getRecordingDevices()
|
||||
std::vector<std::pair<std::string, std::string>>
|
||||
AudioManagerDummy::getRecordingDevices()
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, std::string> > AudioManagerDummy::getPlaybackDevices()
|
||||
std::vector<std::pair<std::string, std::string>>
|
||||
AudioManagerDummy::getPlaybackDevices()
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
} // namespace advsettings
|
||||
|
||||
Reference in New Issue
Block a user