Add support for both ALSA hw and plughw

This commit is contained in:
Jonas Kvinge
2018-09-21 23:29:00 +02:00
parent aa83a2b40b
commit c77cb002f3
14 changed files with 323 additions and 100 deletions

View File

@@ -93,6 +93,7 @@ public:
virtual bool ValidOutput(const QString &output) = 0;
virtual QString DefaultOutput() = 0;
virtual bool CustomDeviceSupport(const QString &output) = 0;
virtual bool ALSADeviceSupport(const QString &output) = 0;
// Plays a media stream represented with the URL 'u' from the given 'beginning' to the given 'end' (usually from 0 to a song's length).
// Both markers should be passed in nanoseconds. 'end' can be negative, indicating that the real length of 'u' stream is unknown.