Lines 37-43
Link Here
|
37 |
#include "ADM_audiodevice/ADM_deviceoss.h" |
37 |
#include "ADM_audiodevice/ADM_deviceoss.h" |
38 |
#include "ADM_audiodevice/ADM_deviceALSA.h" |
38 |
#include "ADM_audiodevice/ADM_deviceALSA.h" |
39 |
|
39 |
|
40 |
|
40 |
#include <alsa/version.h> |
|
|
41 |
#if SND_LIB_MAJOR==1 |
42 |
#define ALSA_PCM_OLD_HW_PARAMS_API |
43 |
#define ALSA_PCM_NEW_HW_PARAMS_API |
44 |
#endif |
41 |
#include <alsa/asoundlib.h> |
45 |
#include <alsa/asoundlib.h> |
42 |
/* Handle for the PCM device */ |
46 |
/* Handle for the PCM device */ |
43 |
snd_pcm_t *pcm_handle; |
47 |
snd_pcm_t *pcm_handle; |