DeviceFinder: Add typedef DeviceList

This commit is contained in:
Jonas Kvinge
2023-06-01 18:43:43 +02:00
parent 8e14ef7c0c
commit a5a29f7ad3
15 changed files with 29 additions and 42 deletions

View File

@@ -24,7 +24,6 @@
#include <alsa/asoundlib.h>
#include <boost/scope_exit.hpp>
#include <QList>
#include <QString>
#include <core/logging.h>
@@ -34,9 +33,9 @@
AlsaDeviceFinder::AlsaDeviceFinder() : DeviceFinder("alsa", { "alsa", "alsasink" }) {}
QList<DeviceFinder::Device> AlsaDeviceFinder::ListDevices() {
DeviceFinder::DeviceList AlsaDeviceFinder::ListDevices() {
QList<Device> ret;
DeviceList ret;
snd_pcm_stream_name(SND_PCM_STREAM_PLAYBACK);