commit d18f72299657ef53831fb4849ede5f83b3990202 Author: Alois Schlögl Date: Wed Jun 17 08:32:16 2026 +0200 add MEDILOG as filetype identifier diff --git a/biosig4c++/biosig-dev.h b/biosig4c++/biosig-dev.h index 2092008a..dd933acb 100644 --- a/biosig4c++/biosig-dev.h +++ b/biosig4c++/biosig-dev.h @@ -214,7 +214,7 @@ enum FileFormat { FAMOS, FEF, FIFF, FITS, FLAC, GDF, GDF1, GIF, GTF, GZIP, HDF, HL7aECG, HEKA, IBW, ISHNE, ITX, JPEG, JSON, Lexicor, - Matlab, MFER, MIDI, MIT, MM, MSI, MSVCLIB, MS_LNK, MX, + Matlab, MEDILOG, MFER, MIDI, MIT, MM, MSI, MSVCLIB, MS_LNK, MX, native, NeuroLoggerHEX, NetCDF, NEURON, NEV, NEX1, NIFTI, NUMPY, OGG, OpenXDF, PBMA, PBMN, PDF, PDP, Persyst, PGMA, PGMB, diff --git a/biosig4c++/biosig.c b/biosig4c++/biosig.c index 34ffb24e..ed58de6d 100644 --- a/biosig4c++/biosig.c +++ b/biosig4c++/biosig.c @@ -2101,6 +2101,8 @@ HDRTYPE* getfiletype(HDRTYPE* hdr) hdr->TYPE = ZIP; else if (!strncmp(Header1,"PK\005\006",4)) hdr->TYPE = ZIP; + else if (!strncmp(Header1,"\x53\x67\xa3\x86",4)) + hdr->TYPE = MEDILOG; else if (!strncmp(Header1,"!\n",8)) hdr->TYPE = MSVCLIB; /* @@ -2235,6 +2237,7 @@ const struct FileFormatStringTable_t FileFormatStringTable[] = { { JPEG, "JPEG" }, { JSON, "JSON" }, { Matlab, "MAT" }, + { MEDILOG, "MEDILOG" }, { MFER, "MFER" }, { MIDI, "MIDI" }, { MIT, "MIT" }, commit 168a9702723f6ec0824b2e3964d6e5c397c0dd95 Author: Alois Schlögl Date: Wed Jun 17 08:38:17 2026 +0200 push SONAMEVERSION to 4 diff --git a/biosig4c++/Makefile.in b/biosig4c++/Makefile.in index e0d5ad64..8986bea2 100644 --- a/biosig4c++/Makefile.in +++ b/biosig4c++/Makefile.in @@ -138,7 +138,7 @@ else endif endif -SONAMEVERSION ?= 3 +SONAMEVERSION ?= 4 DLPRE = lib ### TODO: DLEXT does not work correctly on MXE/MINGW