Formatting

This commit is contained in:
Jonas Kvinge
2021-07-11 07:40:57 +02:00
parent 87b9a8c4c8
commit a6742d401c
149 changed files with 595 additions and 565 deletions

View File

@@ -34,8 +34,7 @@
#include "devicefinder.h"
#include "alsadevicefinder.h"
AlsaDeviceFinder::AlsaDeviceFinder()
: DeviceFinder("alsa", {"alsa","alsasink"}) {}
AlsaDeviceFinder::AlsaDeviceFinder() : DeviceFinder("alsa", {"alsa","alsasink"}) {}
QList<DeviceFinder::Device> AlsaDeviceFinder::ListDevices() {

View File

@@ -33,8 +33,7 @@
#include "devicefinder.h"
#include "alsapcmdevicefinder.h"
AlsaPCMDeviceFinder::AlsaPCMDeviceFinder()
: DeviceFinder("alsa", {"alsa","alsasink"}) {}
AlsaPCMDeviceFinder::AlsaPCMDeviceFinder() : DeviceFinder("alsa", {"alsa","alsasink"}) {}
QList<DeviceFinder::Device> AlsaPCMDeviceFinder::ListDevices() {

View File

@@ -23,8 +23,7 @@
#include "devicefinder.h"
DeviceFinder::DeviceFinder(const QString &name, const QStringList &outputs): name_(name), outputs_(outputs) {
}
DeviceFinder::DeviceFinder(const QString &name, const QStringList &outputs): name_(name), outputs_(outputs) {}
QString DeviceFinder::GuessIconName(const QString &description) {

View File

@@ -35,9 +35,7 @@
#include "directsounddevicefinder.h"
#include "core/logging.h"
DirectSoundDeviceFinder::DirectSoundDeviceFinder()
: DeviceFinder("directsound", { "directsound", "dsound", "directsoundsink", "directx", "directx2" }) {
}
DirectSoundDeviceFinder::DirectSoundDeviceFinder() : DeviceFinder("directsound", { "directsound", "dsound", "directsoundsink", "directx", "directx2" }) {}
QList<DeviceFinder::Device> DirectSoundDeviceFinder::ListDevices() {
State state;

View File

@@ -100,8 +100,7 @@ GstEngine::GstEngine(TaskManager *task_manager, QObject *parent)
have_new_buffer_(false),
scope_chunks_(0),
discovery_finished_cb_id_(-1),
discovery_discovered_cb_id_(-1)
{
discovery_discovered_cb_id_(-1) {
seek_timer_->setSingleShot(true);
seek_timer_->setInterval(kSeekDelayNanosec / kNsecPerMsec);

View File

@@ -115,8 +115,7 @@ GstEnginePipeline::GstEnginePipeline(GstEngine *engine, QObject *parent)
notify_source_cb_id_(-1),
about_to_finish_cb_id_(-1),
bus_cb_id_(-1),
unsupported_analyzer_(false)
{
unsupported_analyzer_(false) {
if (!sElementDeleter) {
sElementDeleter = new GstElementDeleter(engine_);

View File

@@ -62,9 +62,7 @@ std::unique_ptr<T> GetProperty(const AudioDeviceID &device_id, const AudioObject
} // namespace
MacOsDeviceFinder::MacOsDeviceFinder()
: DeviceFinder("osxaudio", { "osxaudio", "osx", "osxaudiosink"} ) {
}
MacOsDeviceFinder::MacOsDeviceFinder() : DeviceFinder("osxaudio", { "osxaudio", "osx", "osxaudiosink"} ) {}
QList<DeviceFinder::Device> MacOsDeviceFinder::ListDevices() {

View File

@@ -40,10 +40,10 @@
#include "vlcscopedref.h"
VLCEngine::VLCEngine(TaskManager *task_manager, QObject *parent)
: Engine::Base(Engine::VLC, parent),
instance_(nullptr),
player_(nullptr),
state_(Engine::Empty) {
: Engine::Base(Engine::VLC, parent),
instance_(nullptr),
player_(nullptr),
state_(Engine::Empty) {
Q_UNUSED(task_manager);