Interface Device.Player.Factory
- All Superinterfaces:
PcmFormat.Selector
- All Known Subinterfaces:
AudioStream.Factory
- Enclosing interface:
Device.Player
Player factory interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Device.BitLayoutGets the bit layout expected by players from this factory with the given format.Creates a player for the format, or throws exception if not possible.Methods inherited from interface net.avadeaux.klipspringer.codec.PcmFormat.Selector
selectFormat
-
Method Details
-
open
Creates a player for the format, or throws exception if not possible.- Throws:
IOException
-
layout
Gets the bit layout expected by players from this factory with the given format. If the factory is associated with a device, this should match what is returned byDevice.layout(PcmFormat). Default returnsDevice.BitLayout.LSB.
-