7 #include "OldSoundDriver.h"
9 #define DRIVER_GET_PARAMS(x...) ioctl( fd, SOUND_GET_PARAMS, x )
10 #define DRIVER_SET_PARAMS(x...) ioctl( fd, SOUND_SET_PARAMS, x )
11 #define DRIVER_SET_PLAYBACK_COMPLETION_SEM(x...) ioctl( fd, SOUND_SET_PLAYBACK_COMPLETION_SEM, x )
12 #define DRIVER_SET_CAPTURE_COMPLETION_SEM(x...) ioctl( fd, SOUND_SET_CAPTURE_COMPLETION_SEM, x )
13 #define DRIVER_WRITE_BUFFER(x...) ioctl( fd, SOUND_WRITE_BUFFER, x )
14 #define DRIVER_READ_BUFFER(x...) ioctl( fd, SOUND_READ_BUFFER, x )
15 #define DRIVER_LOCK_FOR_DMA(x...) ioctl( fd, SOUND_LOCK_FOR_DMA, x )