A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 42 lines 1.6 kB view raw
1/*************************************************************************** 2 * __________ __ ___. 3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___ 4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 7 * \/ \/ \/ \/ \/ 8 * $Id: ipod_remote_tuner.h 9 * Tuner header for the ipod remote tuner and others remote tuners 10 * 11 * Copyright (C) 2009 Laurent Gautier 12 * 13 * This program is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU General Public License 15 * as published by the Free Software Foundation; either version 2 16 * of the License, or (at your option) any later version. 17 * 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 19 * KIND, either express or implied. 20 * 21 ****************************************************************************/ 22 23#ifndef _IPOD_REMOTE_TUNER_H_ 24#define _IPOD_REMOTE_TUNER_H_ 25 26#define HAVE_RADIO_REGION 27#define TIMEOUT_VALUE 20 28 29extern int radio_present; 30 31extern void rmt_tuner_freq(unsigned int len, const unsigned char *buf); 32extern void rmt_tuner_rds_data(unsigned int len, const unsigned char *buf); 33 34int ipod_rmt_tuner_set(int setting, int value); 35int ipod_rmt_tuner_get(int setting); 36 37#ifndef CONFIG_TUNER_MULTI 38#define tuner_set ipod_rmt_tuner_set 39#define tuner_get ipod_rmt_tuner_get 40#endif 41 42#endif /* _IPOD_REMOTE_TUNER_H_ */