From bac29a930f2cd5825f6edb400d87eea2171b0cc1 Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 4 Jul 2021 03:03:50 +0400 Subject: pica-client/audio: enumerate ALSA devices on Linux --- pica-client/videodevice.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pica-client/videodevice.cpp') diff --git a/pica-client/videodevice.cpp b/pica-client/videodevice.cpp index 781c8a2..aabb245 100644 --- a/pica-client/videodevice.cpp +++ b/pica-client/videodevice.cpp @@ -32,10 +32,13 @@ void VideoDevice::Close() { } -QList VideoDevice::Enumerate() +QList VideoDevice::Enumerate(enum MediaDeviceStreamDirection dir) { QList result; int index = 0; + + if (dir == PLAYBACK) + return result; #ifdef Q_OS_LINUX for (int i = 0; i < 64; i++) { -- cgit v1.2.1