Skip to content

Commit

Permalink
Updated version.
Browse files Browse the repository at this point in the history
  • Loading branch information
git-moss committed Dec 9, 2024
1 parent da2c4a3 commit 6486288
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes

## 11.5.0 (unreleased)
## 11.5.0

* Added support for Waldorf Quantum MkI/MkII, Iridium, Iridium Core sample format.
* Checking if destination folder is empty ignores now OS thumbnail files like .DS_Store on MAC and Thumbs.db on Windows.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.mossgrabers</groupId>
<artifactId>convertwithmoss</artifactId>
<version>11.4.0</version>
<version>11.5.0</version>
<packaging>jar</packaging>
<name>ConvertWithMoss</name>
<organization>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class EXS24Block
int type;
int index = 0;
String name;
String extension = "exs";
byte [] content;


Expand Down Expand Up @@ -111,10 +110,7 @@ protected void read (final InputStream in) throws IOException
if (!(this.isBigEndian ? BIG_ENDIAN_MAGIC_BYTES : LITTLE_ENDIAN_MAGIC_BYTES).contains (magic))
throw new IOException (Functions.getMessage ("IDS_EXS_UNKNOWN_MAGIC", magic));

final String ascii = StreamUtils.readASCII (in, 64);
final String [] split = ascii.split ("\0");
this.name = split.length == 0 ? "" : split[0];
this.extension = split.length < 2 ? "" : split[1];
this.name = StringUtils.removeCharactersAfterZero (StreamUtils.readASCII (in, 64));

this.content = in.readNBytes (size);
}
Expand All @@ -137,11 +133,7 @@ public void write (final OutputStream out) throws IOException
StreamUtils.writeUnsigned32 (out, this.index, this.isBigEndian);
StreamUtils.writeUnsigned32 (out, 0, this.isBigEndian);
StreamUtils.writeASCII (out, this.isBigEndian ? BIG_ENDIAN_MAGIC : LITTLE_ENDIAN_MAGIC, 4);

String text = StringUtils.fixASCII (this.name);
if (this.extension != null)
text += "\0" + StringUtils.fixASCII (this.extension);
StreamUtils.writeASCII (out, text, 64);
StreamUtils.writeASCII (out, StringUtils.fixASCII (this.name), 64);
out.write (this.content);
}
}
2 changes: 1 addition & 1 deletion src/main/resources/Strings.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TITLE=ConvertWithMoss 11.4.0
TITLE=ConvertWithMoss 11.5.0

##################################################################################
#
Expand Down

0 comments on commit 6486288

Please sign in to comment.