mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Use AudioBackend standard device names for "Default" in PortaudioBackend
This commit is contained in:
parent
3a3d811e82
commit
440e6cd591
1 changed files with 4 additions and 2 deletions
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "pbd/compose.h"
|
||||
|
||||
#include "ardour/audio_backend.h"
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#define INTERLEAVED_INPUT
|
||||
|
|
@ -432,12 +434,12 @@ PortAudioIO::add_default_devices ()
|
|||
const PaDeviceInfo* nfo_o = Pa_GetDeviceInfo(get_default_output_device());
|
||||
if (nfo_i && nfo_o) {
|
||||
_input_devices.insert (std::pair<int, paDevice*> (DeviceDefault,
|
||||
new paDevice("Default",
|
||||
new paDevice(AudioBackend::get_standard_device_name(AudioBackend::DeviceDefault),
|
||||
nfo_i->maxInputChannels,
|
||||
nfo_o->maxOutputChannels
|
||||
)));
|
||||
_output_devices.insert (std::pair<int, paDevice*> (DeviceDefault,
|
||||
new paDevice("Default",
|
||||
new paDevice(AudioBackend::get_standard_device_name(AudioBackend::DeviceDefault),
|
||||
nfo_i->maxInputChannels,
|
||||
nfo_o->maxOutputChannels
|
||||
)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue