1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

Bug 388 - Mac: Recording Preferences has an unsupported "Hardware Playthrough" option

This commit is contained in:
James Crook 2017-08-05 15:46:23 +01:00
parent 3302455e5f
commit 7a5bbbcce8
2 changed files with 6 additions and 3 deletions

View File

@ -1540,11 +1540,12 @@ bool AudioIO::StartPortAudioStream(double sampleRate,
#ifdef __WXMAC__
if (mPortMixer) {
if (Px_SupportsPlaythrough(mPortMixer)) {
bool playthrough;
bool playthrough = false;
mPreviousHWPlaythrough = Px_GetPlaythrough(mPortMixer);
gPrefs->Read(wxT("/AudioIO/Playthrough"), &playthrough, false);
// Bug 388. Feature not supported.
//gPrefs->Read(wxT("/AudioIO/Playthrough"), &playthrough, false);
if (playthrough)
Px_SetPlaythrough(mPortMixer, 1.0);
else

View File

@ -79,7 +79,9 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
true);
#endif
#if defined(__WXMAC__)
//#if defined(__WXMAC__)
// Bug 388. Feature not supported on any Mac Hardware.
#if 0
S.TieCheckBox(_("&Hardware Playthrough of input"),
wxT("/AudioIO/Playthrough"),
false);