Changeset 176
- Timestamp:
- 03/11/05 08:43:09 (3 years ago)
- Files:
-
- libremix/libremix/src/libremix/remix_monitor.c (modified) (1 diff)
- libremix/libremix/src/libremix/remix_private.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libremix/libremix/src/libremix/remix_monitor.c
r161 r176 42 42 43 43 #if (HAVE_ALSA == 1) 44 #define ALSA_PCM_OLD_HW_PARAMS_API 44 45 #include <alsa/asoundlib.h> 45 46 #else libremix/libremix/src/libremix/remix_private.h
r168 r176 36 36 #include <stdlib.h> 37 37 #include <stdio.h> 38 39 #if (HAVE_ALSA == 1)40 #include <alsa/asoundlib.h>41 #endif42 38 43 39 #include "ctxdata.h" … … 174 170 #define REMIX_MONITOR_BUFFERLEN 2048 175 171 172 /* Opaque type from <alsa/pcm.h> */ 173 #ifndef __ALSA_PCM_H 174 typedef struct _snd_pcm snd_pcm_t; 175 #endif 176 176 177 struct _RemixMonitor { 177 178 RemixBase base; … … 186 187 int numfrags; 187 188 int fragsize; 188 #if (HAVE_ALSA == 1)189 189 snd_pcm_t *alsa_dev; 190 #else191 void *alsa_dev;192 #endif193 190 }; 194 191
