MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / inputDeviceList

Method inputDeviceList

app/src/IO/Drivers/Audio.cpp:735–743  ·  view source on GitHub ↗

* @brief Returns a list of available input audio devices. */

Source from the content-addressed store, hash-verified

733 * @brief Returns a list of available input audio devices.
734 */
735QStringList IO::Drivers::Audio::inputDeviceList() const
736{
737 QStringList list;
738
739 for (const auto& device : m_inputDevices)
740 list.append(QString::fromUtf8(device.name));
741
742 return list;
743}
744
745/**
746 * @brief Returns the list of supported sample formats for the selected input device.

Callers 2

setInputDeviceMethod · 0.80
getInputDevicesMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected