/[openvortex]/alsa/alsa-kernel/core/ioctl32/pcm32.c
ViewVC logotype

Diff of /alsa/alsa-kernel/core/ioctl32/pcm32.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by vizard, Tue Apr 15 21:53:10 2003 UTC revision 1.2 by vizard, Mon Aug 11 00:06:38 2003 UTC
# Line 21  Line 21 
21  #include <sound/driver.h>  #include <sound/driver.h>
22  #include <linux/time.h>  #include <linux/time.h>
23  #include <linux/slab.h>  #include <linux/slab.h>
24    #include <linux/compat.h>
25  #include <sound/core.h>  #include <sound/core.h>
26  #include <sound/pcm.h>  #include <sound/pcm.h>
27  #include "ioctl32.h"  #include "ioctl32.h"
# Line 136  struct sndrv_pcm_channel_info32 { Line 137  struct sndrv_pcm_channel_info32 {
137          COPY(step);\          COPY(step);\
138  }  }
139    
 struct timeval32 {  
         s32 tv_sec;  
         s32 tv_usec;  
 } __attribute__((packed));  
   
140  struct sndrv_pcm_status32 {  struct sndrv_pcm_status32 {
141          s32 state;          s32 state;
142          struct timeval32 trigger_tstamp;          struct compat_timespec trigger_tstamp;
143          struct timeval32 tstamp;          struct compat_timespec tstamp;
144          u32 appl_ptr;          u32 appl_ptr;
145          u32 hw_ptr;          u32 hw_ptr;
146          s32 delay;          s32 delay;
# Line 159  struct sndrv_pcm_status32 { Line 155  struct sndrv_pcm_status32 {
155  {\  {\
156          COPY(state);\          COPY(state);\
157          COPY(trigger_tstamp.tv_sec);\          COPY(trigger_tstamp.tv_sec);\
158          COPY(trigger_tstamp.tv_usec);\          COPY(trigger_tstamp.tv_nsec);\
159          COPY(tstamp.tv_sec);\          COPY(tstamp.tv_sec);\
160          COPY(tstamp.tv_usec);\          COPY(tstamp.tv_nsec);\
161          COPY(appl_ptr);\          COPY(appl_ptr);\
162          COPY(hw_ptr);\          COPY(hw_ptr);\
163          COPY(delay);\          COPY(delay);\

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26