Manual
Programming Reference
enum DeviceFlag : u32 { playback= 1 capture= 2 }
Additional flags specified when creating one device.
playback
Enable audio playback on this device.
capture
Enable audio capture on this device.