mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectAssetCapabilities.java
private static AudioCapabilities makeAudioCapabilities()
    {
        final List<AudioRecorder> recorders = new ArrayList<AudioRecorder>();
        final String description = DESC_NONE;
        final Integer id = 0;
        
        for (AudioRecorderEnum audio : AudioRecorderEnum.values())
        {
            final AudioRecorder aud = new AudioRecorder(audio, description, id);
            recorders.add(aud);
        }
        
        final float num1 = (float)88.2;
        final float num2 = (float)96.0;
        final List<Float> sampleRatesKHz = new ArrayList<Float>();
        sampleRatesKHz.add(num1);
        sampleRatesKHz.add(num2);
        sampleRatesKHz.add((float)0.0);
        return new AudioCapabilities(recorders, sampleRatesKHz);
    }
/**
     * Creates an object that is populated with placeholder values for a AudioCapabilities object.
     * @return AudioCapabilities object
     */
Creates an object that is populated with placeholder values for a AudioCapabilities object.
Creates an object that is populated with placeholder values for a AudioCapabilities object .
private static AudioCapabilities makeAudioCapabilities()
    {
        final List<AudioRecorder> recorders = new ArrayList<AudioRecorder>();
        final String description = DESC_NONE;
        final Integer id = 0;
        for (AudioRecorderEnum audio : AudioRecorderEnum.values())
        {
            final AudioRecorder aud = new AudioRecorder(audio, description, id);
            recorders.add(aud);
        }
        final float num1 = (float)88.2;
        final float num2 = (float)96.0;
        final List<Float> sampleRatesKHz = new ArrayList<Float>();
        sampleRatesKHz.add(num1);
        sampleRatesKHz.add(num2);
        sampleRatesKHz.add((float)0.0);
        return new AudioCapabilities(recorders, sampleRatesKHz);
    }
private static AudioCapabilities makeAudioCapabilities ( ) { final List < AudioRecorder > recorders = new ArrayList < AudioRecorder > ( ) ; final String description = DESC_NONE ; final Integer id = 0 ; for ( AudioRecorderEnum audio : AudioRecorderEnum . values ( ) ) { final AudioRecorder aud = new AudioRecorder ( audio , description , id ) ; recorders . add ( aud ) ; } final float num1 = ( float ) 88.2 ; final float num2 = ( float ) 96.0 ; final List < Float > sampleRatesKHz = new ArrayList < Float > ( ) ; sampleRatesKHz . add ( num1 ) ; sampleRatesKHz . add ( num2 ) ; sampleRatesKHz . add ( ( float ) 0.0 ) ; return new AudioCapabilities ( recorders , sampleRatesKHz ) ; }
Creates an object that is populated with placeholder values for a AudioCapabilities object.
Creates an object that is populated with placeholder values for a AudioCapabilities object .