OSDN Git Service

Compilation fixes (asound.h removal)
authorJaroslav Kysela <perex@perex.cz>
Wed, 22 Aug 2001 06:39:08 +0000 (06:39 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 22 Aug 2001 06:39:08 +0000 (06:39 +0000)
include/control.h
include/pcm.h

index 8bb0b00..39a24e5 100644 (file)
 #define SND_CONTROL_DLSYM_VERSION      _dlsym_control_001
 
 /** IEC958 structure */
-typedef struct sndrv_aes_iec958 snd_aes_iec958_t;
+typedef struct snd_aes_iec958 {
+       unsigned char status[24];       /**< AES/IEC958 channel status bits */
+       unsigned char subcode[147];     /**< AES/IEC958 subcode bits */
+       unsigned char pad;              /**< nothing */
+       unsigned char dig_subframe[4];  /**< AES/IEC958 subframe bits */
+} snd_aes_iec958_t;
 
 /** CTL card info container */
 typedef struct _snd_ctl_card_info snd_ctl_card_info_t;
index 1bb1b37..a46bafd 100644 (file)
@@ -230,9 +230,9 @@ typedef enum _snd_pcm_tstamp {
 } snd_pcm_tstamp_t;
 
 /** Unsigned frames quantity */
-typedef sndrv_pcm_uframes_t snd_pcm_uframes_t;
+typedef unsigned long snd_pcm_uframes_t;
 /** Signed frames quantity */
-typedef sndrv_pcm_sframes_t snd_pcm_sframes_t;
+typedef long snd_pcm_sframes_t;
 /** Timestamp */
 typedef struct timeval snd_timestamp_t;