mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 05:24:52 +00:00
Removed: Resample wav to 44kHz feature from GUI
This commit is contained in:
@@ -62,6 +62,9 @@ All notable changes to this project will be documented in this file.
|
||||
- Quotes in tree node parameter values that need them
|
||||
- The label of option "automatic deobfuscation" changed to "deobfuscate code"
|
||||
|
||||
### Removed
|
||||
- Resample wav to 44kHz feature from GUI
|
||||
|
||||
## [24.0.1] - 2025-06-27
|
||||
### Fixed
|
||||
- [#2476] Dark interface skins identifiers highlighter visibility
|
||||
|
||||
@@ -401,12 +401,13 @@ public class ExportDialog extends AppDialog {
|
||||
resampleWavCheckBox.setVisible(false);
|
||||
|
||||
if (embedCheckBox.isVisible() || visibleOptionClasses.contains(SoundExportMode.class)) {
|
||||
gbc.gridy++;
|
||||
/*gbc.gridy++;
|
||||
resampleWavCheckBox.setVisible(true);
|
||||
comboPanel.add(resampleWavCheckBox, gbc);
|
||||
if (Configuration.lastExportResampleWav.get()) {
|
||||
resampleWavCheckBox.setSelected(true);
|
||||
}
|
||||
}*/
|
||||
resampleWavCheckBox.setSelected(false);
|
||||
}
|
||||
|
||||
transparentFrameBackgroundCheckBox = new JCheckBox(translate("transparentFrameBackground"));
|
||||
|
||||
@@ -4788,7 +4788,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
this.frozen = frozen;
|
||||
this.frozenButtons = frozenButtons;
|
||||
this.muted = muted;
|
||||
this.resample = Configuration.previewResampleSound.get();
|
||||
this.resample = false; //Configuration.previewResampleSound.get();
|
||||
this.mutable = mutable;
|
||||
depthStateUnderCursor = null;
|
||||
hilightedEdge = null;
|
||||
|
||||
@@ -6146,7 +6146,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
previewPanel.setImageReplaceButtonVisible(false, false, false, !((SoundTag) treeItem).isReadOnly() && ((SoundTag) treeItem).importSupported(), false, false, false);
|
||||
if (!(treeItem instanceof SoundStreamHeadTypeTag)) {
|
||||
try {
|
||||
SoundTagPlayer soundThread = new SoundTagPlayer(null, (SoundTag) treeItem, Configuration.loopMedia.get() ? Integer.MAX_VALUE : 1, true, Configuration.previewResampleSound.get());
|
||||
SoundTagPlayer soundThread = new SoundTagPlayer(null, (SoundTag) treeItem, Configuration.loopMedia.get() ? Integer.MAX_VALUE : 1, true, false); // Configuration.previewResampleSound.get());
|
||||
if (!Configuration.autoPlaySounds.get()) {
|
||||
soundThread.pause();
|
||||
}
|
||||
|
||||
@@ -297,12 +297,12 @@ public class PlayerControls extends JPanel implements MediaDisplayListener {
|
||||
resampleButton.setToolTipText(AppStrings.translate("preview.resample"));
|
||||
resampleButton.setMargin(new Insets(4, 2, 2, 2));
|
||||
resampleButton.addActionListener(this::resampleButtonActionPerformed);
|
||||
resampleButton.setSelected(Configuration.previewResampleSound.get());
|
||||
resampleButton.setSelected(false); //Configuration.previewResampleSound.get());
|
||||
|
||||
buttonsPanel.add(pauseButton);
|
||||
buttonsPanel.add(stopButton);
|
||||
buttonsPanel.add(loopButton);
|
||||
buttonsPanel.add(resampleButton);
|
||||
//buttonsPanel.add(resampleButton);
|
||||
controlPanel.add(buttonsPanel, BorderLayout.CENTER);
|
||||
|
||||
progress = new JProgressBar();
|
||||
|
||||
Reference in New Issue
Block a user