for a future update

This commit is contained in:
Kuba 2024-05-16 20:42:21 +02:00 committed by GitHub
parent da4a9803e8
commit 0b72c6adb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -21,12 +21,17 @@
#ifndef RDS_H
#define RDS_H
//taken from bartek's MicroRDS https://github.com/barteqcz/MicroRDS/blob/main/src/rds.h#L30
//taken from bartek's MicroRDS https://github.com/barteqcz/MicroRDS/blob/main/src/rds.h
#define DI_STEREO (1 << 0) /* 1 - Stereo */
#define DI_AH (1 << 1) /* 2 - Artificial Head */
#define DI_COMPRESSED (1 << 2) /* 4 - Compressed */
#define DI_DPTY (1 << 3) /* 8 - Dynamic PTY */
#define AF_CODE_FILLER 205
#define AF_CODE_NO_AF 224
#define AF_CODE_NUM_AFS_BASE AF_CODE_NO_AF
#define AF_CODE_LFMF_FOLLOWS 250
#include <stdint.h>
extern void get_rds_samples(float *buffer, int count, int stereo, int ct_clock_enabled, float sample_volume);