MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / sinkDevices

Method sinkDevices

src/audio/pulseaudio/PulseAudioService.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133std::vector<IOutputDevice> PulseAudioService::sinkDevices()
134{
135 std::vector<IOutputDevice> devices;
136 for(const auto& [id, sink] : sinks)
137 {
138 devices.push_back(PulseDevice(sink));
139 }
140 return devices;
141}
142
143std::vector<IOutputDevice> PulseAudioService::outputDevices()
144{

Callers 1

refreshDevicesMethod · 0.45

Calls 2

PulseDeviceClass · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected