mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
[misc] Move MIN() macro from raop.c to misc.c
This commit is contained in:
parent
94dfef6e78
commit
cee740ae51
@ -17,6 +17,10 @@
|
||||
|
||||
#define ARRAY_SIZE(x) ((unsigned int)(sizeof(x) / sizeof((x)[0])))
|
||||
|
||||
#ifndef MIN
|
||||
# define MIN(a, b) ((a < b) ? a : b)
|
||||
#endif
|
||||
|
||||
// Remember to adjust quality_is_equal() if adding elements
|
||||
struct media_quality {
|
||||
int sample_rate;
|
||||
|
Loading…
Reference in New Issue
Block a user