BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / add-ons / media / media-add-ons / legacy / driver_io.h
blob21cf64964c16ca7eac9953e3aee730237d5614d7
1 #ifndef _DRIVER_IO_H
2 #define _DRIVER_IO_H
4 #include <unistd.h>
5 #include <fcntl.h>
6 #include <Drivers.h>
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 )
17 #endif