2022-10-01 16:55:35 -04:00
|
|
|
/**
|
|
|
|
|
* Copyright (C) 2012 Juho Vähä-Herttua
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
2023-02-09 10:32:36 -05:00
|
|
|
*
|
|
|
|
|
*==================================================================
|
|
|
|
|
* modified by fduncanh 2021-2022
|
2022-10-01 16:55:35 -04:00
|
|
|
*/
|
|
|
|
|
|
2020-04-15 16:24:10 +03:00
|
|
|
#ifndef GLOBAL_H
|
|
|
|
|
#define GLOBAL_H
|
|
|
|
|
|
2022-01-18 14:29:47 -05:00
|
|
|
#define GLOBAL_MODEL "AppleTV3,2"
|
2021-12-07 15:04:00 -05:00
|
|
|
#define GLOBAL_VERSION "220.68"
|
2020-04-15 16:24:10 +03:00
|
|
|
|
2021-12-28 19:56:16 -05:00
|
|
|
/* use old protocol for audio AES key if client's User-Agent string is contained in these strings */
|
2021-12-15 16:47:13 -05:00
|
|
|
/* replace xxx by any new User-Agent string as needed */
|
2021-12-28 19:56:16 -05:00
|
|
|
#define OLD_PROTOCOL_CLIENT_USER_AGENT_LIST "AirMyPC/2.0;xxx"
|
2021-12-15 16:47:13 -05:00
|
|
|
|
2021-12-18 17:39:45 -05:00
|
|
|
#define DECRYPTION_TEST 0 /* set to 1 or 2 to examine audio decryption */
|
2021-12-17 14:25:03 -05:00
|
|
|
|
2020-04-15 16:24:10 +03:00
|
|
|
#define MAX_HWADDR_LEN 6
|
|
|
|
|
|
|
|
|
|
#endif
|