Interface Device
- All Superinterfaces:
PcmFormat.Selector
Representation of an audio device.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumSpecification for where bits are placed when the bytes allocated for a sample are not completely filled by the sample bits.static interfacePCM writer with optional methods to control real-time playing where applicanle.static interfacePCM reader for input (from microphone, ADC, or whatever audio input is available). -
Method Summary
Modifier and TypeMethodDescriptiondefault Device.BitLayoutGets the bit layout expected by players with the given format associated with this device.name()Gets the identifying name of the device.voidWrites a human-readable representation of available formats to the given stream.toString()Gets a descriptive string of the device, which includes thename().Methods inherited from interface PcmFormat.Selector
selectFormat
-
Method Details
-
layout
Gets the bit layout expected by players with the given format associated with this device. Default returnsDevice.BitLayout.LSB. -
name
String name()Gets the identifying name of the device. -
toString
-
printAvailableFormats
Writes a human-readable representation of available formats to the given stream.
-