📄 speakerapi.java
字号:
package org.jnode.driver.sound.speaker;
import org.jnode.driver.DeviceAPI;
/** This API defines how a speaker should be interfaced with JNode.
* @author Matt Paine
**/
public interface SpeakerAPI extends DeviceAPI
{
/** Plays a simple beep **/
public void beep();
/** Plays a single Note.
* @param n The note to play
**/
public void playNote (Note n);
/** Plays a series of notes.
* @param n The arraw of notes to play
**/
public void playNote (Note[] n);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -