Revision 98f9f48c audio/audio.c

b/audio/audio.c
1493 1493

  
1494 1494
static struct audio_option audio_options[] = {
1495 1495
    /* DAC */
1496
    {.name  = "DAC_FIXED_SETTINGS",
1497
     .tag   = AUD_OPT_BOOL,
1498
     .valp  = &conf.fixed_out.enabled,
1499
     .descr = "Use fixed settings for host DAC"},
1500
    {.name  = "DAC_FIXED_FREQ",
1501
     .tag   = AUD_OPT_INT,
1502
     .valp  = &conf.fixed_out.settings.freq,
1503
     .descr = "Frequency for fixed host DAC"},
1504
    {.name  = "DAC_FIXED_FMT",
1505
     .tag   = AUD_OPT_FMT,
1506
     .valp  = &conf.fixed_out.settings.fmt,
1507
     .descr = "Format for fixed host DAC"},
1508
    {.name  = "DAC_FIXED_CHANNELS",
1509
     .tag   = AUD_OPT_INT,
1510
     .valp  = &conf.fixed_out.settings.nchannels,
1511
     .descr = "Number of channels for fixed DAC (1 - mono, 2 - stereo)"},
1512
    {.name  = "DAC_VOICES",
1513
     .tag   = AUD_OPT_INT,
1514
     .valp  = &conf.fixed_out.nb_voices,
1515
     .descr = "Number of voices for DAC"},
1496
    {
1497
        .name  = "DAC_FIXED_SETTINGS",
1498
        .tag   = AUD_OPT_BOOL,
1499
        .valp  = &conf.fixed_out.enabled,
1500
        .descr = "Use fixed settings for host DAC"
1501
    },
1502
    {
1503
        .name  = "DAC_FIXED_FREQ",
1504
        .tag   = AUD_OPT_INT,
1505
        .valp  = &conf.fixed_out.settings.freq,
1506
        .descr = "Frequency for fixed host DAC"
1507
    },
1508
    {
1509
        .name  = "DAC_FIXED_FMT",
1510
        .tag   = AUD_OPT_FMT,
1511
        .valp  = &conf.fixed_out.settings.fmt,
1512
        .descr = "Format for fixed host DAC"
1513
    },
1514
    {
1515
        .name  = "DAC_FIXED_CHANNELS",
1516
        .tag   = AUD_OPT_INT,
1517
        .valp  = &conf.fixed_out.settings.nchannels,
1518
        .descr = "Number of channels for fixed DAC (1 - mono, 2 - stereo)"
1519
    },
1520
    {
1521
        .name  = "DAC_VOICES",
1522
        .tag   = AUD_OPT_INT,
1523
        .valp  = &conf.fixed_out.nb_voices,
1524
        .descr = "Number of voices for DAC"
1525
    },
1516 1526
    /* ADC */
1517
    {.name  = "ADC_FIXED_SETTINGS",
1518
     .tag   = AUD_OPT_BOOL,
1519
     .valp  = &conf.fixed_in.enabled,
1520
     .descr = "Use fixed settings for host ADC"},
1521
    {.name  = "ADC_FIXED_FREQ",
1522
     .tag   = AUD_OPT_INT,
1523
     .valp  = &conf.fixed_in.settings.freq,
1524
     .descr = "Frequency for fixed host ADC"},
1525
    {.name  = "ADC_FIXED_FMT",
1526
     .tag   = AUD_OPT_FMT,
1527
     .valp  = &conf.fixed_in.settings.fmt,
1528
     .descr = "Format for fixed host ADC"},
1529
    {.name  = "ADC_FIXED_CHANNELS",
1530
     .tag   = AUD_OPT_INT,
1531
     .valp  = &conf.fixed_in.settings.nchannels,
1532
     .descr = "Number of channels for fixed ADC (1 - mono, 2 - stereo)"},
1533
    {.name  = "ADC_VOICES",
1534
     .tag   = AUD_OPT_INT,
1535
     .valp  = &conf.fixed_in.nb_voices,
1536
     .descr = "Number of voices for ADC"},
1527
    {
1528
        .name  = "ADC_FIXED_SETTINGS",
1529
        .tag   = AUD_OPT_BOOL,
1530
        .valp  = &conf.fixed_in.enabled,
1531
        .descr = "Use fixed settings for host ADC"
1532
    },
1533
    {
1534
        .name  = "ADC_FIXED_FREQ",
1535
        .tag   = AUD_OPT_INT,
1536
        .valp  = &conf.fixed_in.settings.freq,
1537
        .descr = "Frequency for fixed host ADC"
1538
    },
1539
    {
1540
        .name  = "ADC_FIXED_FMT",
1541
        .tag   = AUD_OPT_FMT,
1542
        .valp  = &conf.fixed_in.settings.fmt,
1543
        .descr = "Format for fixed host ADC"
1544
    },
1545
    {
1546
        .name  = "ADC_FIXED_CHANNELS",
1547
        .tag   = AUD_OPT_INT,
1548
        .valp  = &conf.fixed_in.settings.nchannels,
1549
        .descr = "Number of channels for fixed ADC (1 - mono, 2 - stereo)"
1550
    },
1551
    {
1552
        .name  = "ADC_VOICES",
1553
        .tag   = AUD_OPT_INT,
1554
        .valp  = &conf.fixed_in.nb_voices,
1555
        .descr = "Number of voices for ADC"
1556
    },
1537 1557
    /* Misc */
1538
    {.name  = "TIMER_PERIOD",
1539
     .tag   = AUD_OPT_INT,
1540
     .valp  = &conf.period.hertz,
1541
     .descr = "Timer period in HZ (0 - use lowest possible)"},
1542
    {.name  = "PLIVE",
1543
     .tag   = AUD_OPT_BOOL,
1544
     .valp  = &conf.plive,
1545
     .descr = "(undocumented)"},
1546
    {.name  = "LOG_TO_MONITOR",
1547
     .tag   = AUD_OPT_BOOL,
1548
     .valp  = &conf.log_to_monitor,
1549
     .descr = ".descr = print logging messages to monitor instead of stderr"},
1558
    {
1559
        .name  = "TIMER_PERIOD",
1560
        .tag   = AUD_OPT_INT,
1561
        .valp  = &conf.period.hertz,
1562
        .descr = "Timer period in HZ (0 - use lowest possible)"
1563
    },
1564
    {
1565
        .name  = "PLIVE",
1566
        .tag   = AUD_OPT_BOOL,
1567
        .valp  = &conf.plive,
1568
        .descr = "(undocumented)"
1569
    },
1570
    {
1571
        .name  = "LOG_TO_MONITOR",
1572
        .tag   = AUD_OPT_BOOL,
1573
        .valp  = &conf.log_to_monitor,
1574
        .descr = ".descr = print logging messages to monitor instead of stderr"
1575
    },
1550 1576
    { /* End of list */ }
1551 1577
};
1552 1578

  

Also available in: Unified diff