command/partition: add command "delpartition"
This commit is contained in:
@@ -102,6 +102,18 @@ public:
|
||||
return *outputs[i];
|
||||
}
|
||||
|
||||
/**
|
||||
* Are all outputs dummy?
|
||||
*/
|
||||
gcc_pure
|
||||
bool IsDummy() const noexcept {
|
||||
for (const auto &i : outputs)
|
||||
if (!i->IsDummy())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the audio output device with the specified name.
|
||||
* Returns nullptr if the name does not exist.
|
||||
|
||||
Reference in New Issue
Block a user