001package net.bramp.ffmpeg.options;
002
003import java.beans.ConstructorProperties;
004
005/**
006 * Encoding options for audio
007 *
008 * @author bramp
009 */
010public class AudioEncodingOptions {
011
012  public final boolean enabled;
013  public final String codec;
014  public final int channels;
015  public final int sample_rate;
016  public final String sample_format;
017  public final long bit_rate;
018  public final Double quality;
019
020  @ConstructorProperties({
021    "enabled",
022    "codec",
023    "channels",
024    "sample_rate",
025    "sample_format",
026    "bit_rate",
027    "quality"
028  })
029  public AudioEncodingOptions(
030      boolean enabled,
031      String codec,
032      int channels,
033      int sample_rate,
034      String sample_format,
035      long bit_rate,
036      Double quality) {
037    this.enabled = enabled;
038    this.codec = codec;
039    this.channels = channels;
040    this.sample_rate = sample_rate;
041    this.sample_format = sample_format;
042    this.bit_rate = bit_rate;
043    this.quality = quality;
044  }
045}