1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Improve error message when capture stream fails

Rather than just guessing at the cause of the error, include the actual
error string from PortAudio.
This commit is contained in:
Steve Daulton
2018-08-12 16:12:22 +01:00
parent 90286acb6a
commit 1d22ca5789
3 changed files with 12 additions and 4 deletions

View File

@@ -729,6 +729,10 @@ private:
volatile double mLastRecordingOffset;
PaError mLastPaError;
public:
wxString LastPaErrorString();
private:
AudacityProject *mOwningProject;
wxWeakRef<MeterPanel> mInputMeter{};
MeterPanel *mOutputMeter;