1 /* 2 * ALSA lib header file include/version.h 3 * Copyright (c) 2022 Huawei Device Co., Ltd. 4 * 5 * This library is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU Lesser General Public License as 7 * published by the Free Software Foundation; either version 2.1 of 8 * the License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 * 19 */ 20 21 #ifndef __ALSA_VERSION_H 22 #define __ALSA_VERSION_H 23 24 #define SND_LIB_MAJOR 1 /**< major number of library version */ 25 #define SND_LIB_MINOR 2 /**< minor number of library version */ 26 #define SND_LIB_SUBMINOR 6 /**< subminor number of library version */ 27 #define SND_LIB_EXTRAVER 1000000 /**< extra version number, used mainly for betas */ 28 /** library version */ 29 #define SND_LIB_VER(maj, min, sub) (((maj)<<16)|((min)<<8)|(sub)) 30 #define SND_LIB_VERSION SND_LIB_VER(SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR) 31 /** library version (string) */ 32 #define SND_LIB_VERSION_STR "1.2.6" 33 34 #endif /* __ALSA_VERSION_H */ 35