|
Lines 35-40
Link Here
|
| 35 |
#ifdef HAVE_LIBASOUND2 |
35 |
#ifdef HAVE_LIBASOUND2 |
| 36 |
|
36 |
|
| 37 |
#ifdef HAVE_ALSA_ASOUNDLIB_H |
37 |
#ifdef HAVE_ALSA_ASOUNDLIB_H |
|
|
38 |
#include <alsa/verison.h> |
| 39 |
# if SND_LIB_MAJOR==1 |
| 40 |
# define ALSA_PCM_OLD_HW_PARAMS_API |
| 41 |
# define ALSA_PCM_NEW_HW_PARAMS_API |
| 42 |
# endif |
| 38 |
#include <alsa/asoundlib.h> |
43 |
#include <alsa/asoundlib.h> |
| 39 |
#elif defined(HAVE_SYS_ASOUNDLIB_H) |
44 |
#elif defined(HAVE_SYS_ASOUNDLIB_H) |
| 40 |
#include <sys/asoundlib.h> |
45 |
#include <sys/asoundlib.h> |