Removing Press, IPAP, EPAP graph until the out of bound exception is fix.

This commit is contained in:
Alejandro Rivero Perez 2023-05-11 23:45:17 +02:00
parent d2407a07df
commit d5da8c9f8b

View File

@ -278,13 +278,13 @@ struct WaveFileData {
EventList* GetEventList(const QString& name, Session* session, float sample_rate = 0.0) { EventList* GetEventList(const QString& name, Session* session, float sample_rate = 0.0) {
if (name == "Press") { if (name == "Press") {
return session->AddEventList(CPAP_Pressure, EVL_Event); return nullptr;//session->AddEventList(CPAP_Pressure, EVL_Event);
} }
else if (name == "IPAP") { else if (name == "IPAP") {
return session->AddEventList(CPAP_IPAP, EVL_Event); return nullptr;//session->AddEventList(CPAP_IPAP, EVL_Event);
} }
else if (name == "EPAP") { else if (name == "EPAP") {
return session->AddEventList(CPAP_EPAP, EVL_Event); return nullptr;//session->AddEventList(CPAP_EPAP, EVL_Event);
} }
else if (name == "Leak") { else if (name == "Leak") {
return session->AddEventList(CPAP_Leak, EVL_Event); return session->AddEventList(CPAP_Leak, EVL_Event);