Class NativelySupportedAudioFormat

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class NativelySupportedAudioFormat
    extends javax.media.format.AudioFormat
    Represents an AudioFormat which is natively supported by the entity which supports it. The NativelySupportedAudioFormat class is used purely as a flag/indicator/marker. In the context of the Windows Audio Session API (WASAPI) integration, it signals that the endpoint device represented by an associated CaptureDeviceInfo2 supports the format either directly or with built-in conversion between mono and stereo.
    Author:
    Lyubomir Marinov
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.media.format.AudioFormat

        ALAW, BIG_ENDIAN, channels, DOLBYAC3, DVI, DVI_RTP, endian, frameRate, frameSizeInBits, G723, G723_RTP, G728, G728_RTP, G729, G729_RTP, G729A, G729A_RTP, GSM, GSM_MS, GSM_RTP, IMA4, IMA4_MS, LINEAR, LITTLE_ENDIAN, MAC3, MAC6, MPEG, MPEG_RTP, MPEGLAYER3, MSADPCM, MSNAUDIO, MSRT24, sampleRate, sampleSizeInBits, signed, SIGNED, TRUESPEECH, ULAW, ULAW_RTP, UNSIGNED, VOXWAREAC10, VOXWAREAC16, VOXWAREAC20, VOXWAREAC8, VOXWAREMETASOUND, VOXWAREMETAVOICE, VOXWARERT29H, VOXWARETQ40, VOXWARETQ60, VOXWAREVR12, VOXWAREVR18
      • Fields inherited from class javax.media.Format

        byteArray, clz, dataType, encoding, FALSE, formatArray, intArray, NOT_SPECIFIED, shortArray, TRUE
    • Constructor Summary

      Constructors 
      Constructor Description
      NativelySupportedAudioFormat​(String encoding, double sampleRate, int sampleSizeInBits, int channels, int endian, int signed, int frameSizeInBits, double frameRate, Class<?> dataType)  
    • Method Summary

      • Methods inherited from class javax.media.format.AudioFormat

        clone, computeDuration, copy, equals, getChannels, getEndian, getFrameRate, getFrameSizeInBits, getSampleRate, getSampleSizeInBits, getSigned, intersects, matches, toString
      • Methods inherited from class javax.media.Format

        getDataType, getEncoding, isSameEncoding, isSameEncoding, relax
    • Constructor Detail

      • NativelySupportedAudioFormat

        public NativelySupportedAudioFormat​(String encoding,
                                            double sampleRate,
                                            int sampleSizeInBits,
                                            int channels,
                                            int endian,
                                            int signed,
                                            int frameSizeInBits,
                                            double frameRate,
                                            Class<?> dataType)