mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-19 01:20:54 +02:00
fix the device information listing to show the correct host name for the device being listed, not the currently selected Audacity preference. Expanded from patch by Leyland.
This commit is contained in:
parent
7c318fece2
commit
227ed95615
@ -109,7 +109,7 @@ environment variable will be searched before anywhere else.
|
||||
The current working directory when Audacity is started.
|
||||
.RE
|
||||
|
||||
.I ~/.audacity\-files
|
||||
.I ~/.audacity-data/Plug-Ins
|
||||
|
||||
.I <prefix>/share/audacity
|
||||
.RS
|
||||
|
@ -2396,10 +2396,9 @@ wxString AudioIO::GetDeviceInfo()
|
||||
}
|
||||
|
||||
wxString name = DeviceName(info);
|
||||
wxString hostName = gPrefs->Read(wxT("/AudioIO/Host"), wxT(""));
|
||||
s << wxT("Device ID: ") << j << e;
|
||||
s << wxT("Device name: ") << name << e;
|
||||
s << wxT("Host name: ") << hostName << e;
|
||||
s << wxT("Host name: ") << HostName(info) << e;
|
||||
s << wxT("Input channels: ") << info->maxInputChannels << e;
|
||||
s << wxT("Output channels: ") << info->maxOutputChannels << e;
|
||||
s << wxT("Low Input Latency: ") << info->defaultLowInputLatency << e;
|
||||
|
Loading…
x
Reference in New Issue
Block a user