001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.actions.audio; 003 004import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 005import static org.openstreetmap.josm.tools.I18n.tr; 006import static org.openstreetmap.josm.tools.I18n.trc; 007 008import java.awt.event.KeyEvent; 009 010import org.openstreetmap.josm.tools.Shortcut; 011 012/** 013 * Increase the speed of audio playback. 014 * Each use increases the speed further until one of the other controls is used. 015 * @since 563 016 */ 017public class AudioFasterAction extends AudioFastSlowAction { 018 019 /** 020 * Constructs a new {@code AudioFasterAction}. 021 */ 022 public AudioFasterAction() { 023 super(trc("audio", "Faster"), "audio-faster", trc("audio", "Faster Forward"), 024 Shortcut.registerShortcut("audio:faster", tr("Audio: {0}", trc("audio", "Faster")), KeyEvent.VK_F9, Shortcut.DIRECT), true); 025 setHelpId(ht("/Action/AudioFaster")); 026 } 027}