Lines 41-50
Link Here
|
41 |
#endif |
41 |
#endif |
42 |
|
42 |
|
43 |
/*ALSA header file*/ |
43 |
/*ALSA header file*/ |
|
|
44 |
#define ALSA_PCM_OLD_HW_PARAMS_API |
45 |
#define ALSA_PCM_NEW_HW_PARAMS_API |
44 |
#include <sys/asoundlib.h> |
46 |
#include <sys/asoundlib.h> |
45 |
|
47 |
|
46 |
#if defined(SND_LIB_MINOR) |
48 |
#if defined(SND_LIB_MINOR) |
47 |
#define ALSA_LIB SND_LIB_MINOR |
49 |
# if SND_LIB_MAJOR==1 |
|
|
50 |
# define ALSA_LIB 10 |
51 |
# else |
52 |
# define ALSA_LIB SND_LIB_MINOR |
53 |
# endif |
48 |
#else |
54 |
#else |
49 |
#define ALSA_LIB 3 |
55 |
#define ALSA_LIB 3 |
50 |
#endif |
56 |
#endif |