Files
LuaScript/src/main/java/org/openautonomousconnection/luascript/hosts/AudioHost.java
2026-03-01 02:55:12 +01:00

29 lines
661 B
Java

/*
* This code, and therefore this entire project, is licensed under
* the Open Autonomous Public License (OAPL) v1.0, or one that
* derives from that license.
* For more details, please refer to the LICENSE file.
*
* Copyright (c) 2026 Maple.
*/
package org.openautonomousconnection.luascript.hosts;
import org.openautonomousconnection.luascript.type.AudioValue;
import java.io.File;
/**
* Abstract audio service host
*/
public interface AudioHost {
/**
* Load an audio file as a LuaValue (AudioValue type)
* @param audioFile audio media file
* @return reference object to media
*/
AudioValue load(File audioFile);
}