A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Fix Yellow] pitch_screen and configfile

place int32 in the conf file array it only supports upto 32 bit anyway..

Change-Id: I16bb6f3a924bab91739f09a4151df4e6be5bec69

+3 -2
+1
apps/plugins/lib/configfile.h
··· 37 37 int *int_p; 38 38 bool *bool_p; 39 39 char *string; 40 + int32_t *int32_p; 40 41 }; /* Pointer to value, a union of the possible types */ 41 42 char *name; /* Pointer to the name of the item */ 42 43 char **values; /* List of strings for enums, NULL if not enum */
+2 -2
apps/plugins/pitch_screen.c
··· 56 56 57 57 static struct configdata pitchcfg[] = 58 58 { 59 - {TYPE_INT, PITCH_MIN, PITCH_MAX, { .int_p = &pitch_vars.pitch }, "pitch", NULL}, 60 - {TYPE_INT, STRETCH_MIN, STRETCH_MAX, { .int_p = &pitch_vars.stretch }, "stretch", NULL}, 59 + {TYPE_INT, PITCH_MIN, PITCH_MAX, { .int32_p = &pitch_vars.pitch }, "pitch", NULL}, 60 + {TYPE_INT, STRETCH_MIN, STRETCH_MAX, { .int32_p = &pitch_vars.stretch }, "stretch", NULL}, 61 61 }; 62 62 63 63 enum