Formatting
This commit is contained in:
@@ -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() {
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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_);
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user