001/*
002 * Copyright (C) Cross The Road Electronics.  All rights reserved.
003 * License information can be found in CTRE_LICENSE.txt
004 * For support and suggestions contact support@ctr-electronics.com or file
005 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
006 */
007package com.ctre.phoenix6.jni;
008
009public class OrchestraJNI extends CtreJniWrapper {
010    public int id = 0; // initialize with an invalid ID
011
012    public native int JNI_Create();
013    public native int JNI_Close();
014
015    public native int JNI_AddDevice(String network, long deviceHash);
016    public native int JNI_AddDeviceWithTrack(String network, long deviceHash, int trackNum);
017    public native int JNI_ClearDevices();
018
019    public native int JNI_LoadMusic(String filepath);
020
021    public native int JNI_Play();
022    public native int JNI_Pause();
023    public native int JNI_Stop();
024
025    public native boolean JNI_IsPlaying();
026    public native double JNI_GetCurrentTime();
027}