mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
ledvu small changes & update plugin
This commit is contained in:
@@ -39,14 +39,14 @@ static const char *TAG = "led_vu";
|
|||||||
#define max(a,b) (((a) > (b)) ? (a) : (b))
|
#define max(a,b) (((a) > (b)) ? (a) : (b))
|
||||||
|
|
||||||
struct led_strip_t* led_display = NULL;
|
struct led_strip_t* led_display = NULL;
|
||||||
static struct led_strip_t led_strip_config = {
|
static EXT_RAM_ATTR struct led_strip_t led_strip_config = {
|
||||||
.rgb_led_type = RGB_LED_TYPE_WS2812,
|
.rgb_led_type = RGB_LED_TYPE_WS2812,
|
||||||
.rmt_channel = RMT_CHANNEL_1,
|
.rmt_channel = RMT_CHANNEL_1,
|
||||||
.rmt_interrupt_num = LED_VU_RMT_INTR_NUM,
|
.rmt_interrupt_num = LED_VU_RMT_INTR_NUM,
|
||||||
.gpio = GPIO_NUM_22,
|
.gpio = GPIO_NUM_22,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct {
|
static EXT_RAM_ATTR struct {
|
||||||
int gpio;
|
int gpio;
|
||||||
int length;
|
int length;
|
||||||
int vu_length;
|
int vu_length;
|
||||||
|
|||||||
@@ -123,4 +123,4 @@ bool are_statistics_enabled();
|
|||||||
const rotary_struct_t * config_rotary_get();
|
const rotary_struct_t * config_rotary_get();
|
||||||
esp_err_t config_rotary_set(rotary_struct_t * rotary);
|
esp_err_t config_rotary_set(rotary_struct_t * rotary);
|
||||||
const ledvu_struct_t * config_ledvu_get();
|
const ledvu_struct_t * config_ledvu_get();
|
||||||
esp_err_t config_ledvu_set(ledvu_struct_t * rotary);
|
esp_err_t config_ledvu_set(ledvu_struct_t * ledvu);
|
||||||
@@ -32,7 +32,7 @@ const struct adac_s dac_external = { "i2s", init, adac_deinit, power, speaker, h
|
|||||||
static cJSON *i2c_json;
|
static cJSON *i2c_json;
|
||||||
static int i2c_addr;
|
static int i2c_addr;
|
||||||
|
|
||||||
static struct {
|
static const struct {
|
||||||
char *model;
|
char *model;
|
||||||
bool mclk;
|
bool mclk;
|
||||||
char *controlset;
|
char *controlset;
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<?xml version='1.0' standalone='yes'?>
|
<?xml version='1.0' standalone='yes'?>
|
||||||
<extensions>
|
<extensions>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin version="0.353" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
|
<plugin version="0.360" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
|
||||||
<link>https://github.com/sle118/squeezelite-esp32</link>
|
<link>https://github.com/sle118/squeezelite-esp32</link>
|
||||||
<creator>Philippe</creator>
|
<creator>Philippe</creator>
|
||||||
<sha>357d715715e7bf10f83ad15bc3fd794fc45e9e5a</sha>
|
<sha>de9704f948ba5d09dba1e30c710e07a5896b9222</sha>
|
||||||
<email>philippe_44@outlook.com</email>
|
<email>philippe_44@outlook.com</email>
|
||||||
<desc lang="EN">SqueezeESP32 additional player id (100/101)</desc>
|
<desc lang="EN">SqueezeESP32 additional player id (100/101)</desc>
|
||||||
<url>http://github.com/sle118/squeezelite-esp32/raw/master-cmake/plugin/SqueezeESP32.zip</url>
|
<url>http://raw.githubusercontent.com/sle118/squeezelite-esp32/master-v4.3/plugin/SqueezeESP32.zip</url>
|
||||||
<title lang="EN">SqueezeESP32</title>
|
<title lang="EN">SqueezeESP32</title>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|||||||
Reference in New Issue
Block a user