mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[misc] Move STOB and BTOS macros to misc.h
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
#include <time.h>
|
||||
#include <pthread.h>
|
||||
|
||||
/* Samples to bytes, bytes to samples */
|
||||
#define STOB(s) ((s) * 4)
|
||||
#define BTOS(b) ((b) / 4)
|
||||
|
||||
|
||||
struct onekeyval {
|
||||
char *name;
|
||||
char *value;
|
||||
|
||||
Reference in New Issue
Block a user