[BACK]Return to audioctl.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / audioctl

Diff for /src/usr.bin/audioctl/audioctl.c between version 1.23 and 1.24

version 1.23, 2013/11/13 18:50:05 version 1.24, 2014/09/23 06:47:37
Line 80 
Line 80 
         u_int oldval;          u_int oldval;
 } fields[] = {  } fields[] = {
         { "name",               &adev.name,             STRING, READONLY },          { "name",               &adev.name,             STRING, READONLY },
         { "version",            &adev.version,          STRING, READONLY },  
         { "config",             &adev.config,           STRING, READONLY },  
         { "encodings",          encbuf,                 STRING, READONLY },          { "encodings",          encbuf,                 STRING, READONLY },
         { "properties",         &properties,            PROPS,  READONLY },          { "properties",         &properties,            PROPS,  READONLY },
         { "full_duplex",        &fullduplex,            UINT,   0 },  
         { "fullduplex",         &fullduplex,            UINT,   0 },  
         { "blocksize",          &info.blocksize,        UINT,   0 },  
         { "hiwat",              &info.hiwat,            UINT,   0 },          { "hiwat",              &info.hiwat,            UINT,   0 },
         { "lowat",              &info.lowat,            UINT,   0 },          { "lowat",              &info.lowat,            UINT,   0 },
         { "output_muted",       &info.output_muted,     UCHAR,  0 },  
         { "monitor_gain",       &info.monitor_gain,     UINT,   0 },  
         { "mode",               &info.mode,             P_R,    READONLY },          { "mode",               &info.mode,             P_R,    READONLY },
         { "play.rate",          &info.play.sample_rate, UINT,   0 },          { "play.rate",          &info.play.sample_rate, UINT,   0 },
         { "play.sample_rate",   &info.play.sample_rate, UINT,   ALIAS },          { "play.sample_rate",   &info.play.sample_rate, UINT,   ALIAS },
Line 99 
Line 92 
         { "play.bps",           &info.play.bps,         UINT,   0 },          { "play.bps",           &info.play.bps,         UINT,   0 },
         { "play.msb",           &info.play.msb,         UINT,   0 },          { "play.msb",           &info.play.msb,         UINT,   0 },
         { "play.encoding",      &info.play.encoding,    ENC,    0 },          { "play.encoding",      &info.play.encoding,    ENC,    0 },
         { "play.gain",          &info.play.gain,        UINT,   0 },  
         { "play.balance",       &info.play.balance,     UCHAR,  0 },  
         { "play.port",          &info.play.port,        XINT,   0 },  
         { "play.avail_ports",   &info.play.avail_ports, XINT,   0 },  
         { "play.seek",          &info.play.seek,        UINT,   READONLY },  
         { "play.samples",       &info.play.samples,     UINT,   READONLY },          { "play.samples",       &info.play.samples,     UINT,   READONLY },
         { "play.eof",           &info.play.eof,         UINT,   READONLY },  
         { "play.pause",         &info.play.pause,       UCHAR,  0 },          { "play.pause",         &info.play.pause,       UCHAR,  0 },
         { "play.error",         &info.play.error,       UCHAR,  READONLY },  
         { "play.waiting",       &info.play.waiting,     UCHAR,  READONLY },  
         { "play.open",          &info.play.open,        UCHAR,  READONLY },  
         { "play.active",        &info.play.active,      UCHAR,  READONLY },          { "play.active",        &info.play.active,      UCHAR,  READONLY },
         { "play.buffer_size",   &info.play.buffer_size, UINT,   0 },  
         { "play.block_size",    &info.play.block_size,  UINT,   0 },          { "play.block_size",    &info.play.block_size,  UINT,   0 },
         { "play.errors",        &perrors,               INT,    READONLY },          { "play.errors",        &perrors,               INT,    READONLY },
         { "record.rate",        &info.record.sample_rate,UINT,  0 },          { "record.rate",        &info.record.sample_rate,UINT,  0 },
Line 121 
Line 104 
         { "record.bps",         &info.record.bps,       UINT,   0 },          { "record.bps",         &info.record.bps,       UINT,   0 },
         { "record.msb",         &info.record.msb,       UINT,   0 },          { "record.msb",         &info.record.msb,       UINT,   0 },
         { "record.encoding",    &info.record.encoding,  ENC,    0 },          { "record.encoding",    &info.record.encoding,  ENC,    0 },
         { "record.gain",        &info.record.gain,      UINT,   0 },  
         { "record.balance",     &info.record.balance,   UCHAR,  0 },  
         { "record.port",        &info.record.port,      XINT,   0 },  
         { "record.avail_ports", &info.record.avail_ports,XINT,  0 },  
         { "record.seek",        &info.record.seek,      UINT,   READONLY },  
         { "record.samples",     &info.record.samples,   UINT,   READONLY },          { "record.samples",     &info.record.samples,   UINT,   READONLY },
         { "record.eof",         &info.record.eof,       UINT,   READONLY },  
         { "record.pause",       &info.record.pause,     UCHAR,  0 },          { "record.pause",       &info.record.pause,     UCHAR,  0 },
         { "record.error",       &info.record.error,     UCHAR,  READONLY },  
         { "record.waiting",     &info.record.waiting,   UCHAR,  READONLY },  
         { "record.open",        &info.record.open,      UCHAR,  READONLY },  
         { "record.active",      &info.record.active,    UCHAR,  READONLY },          { "record.active",      &info.record.active,    UCHAR,  READONLY },
         { "record.buffer_size", &info.record.buffer_size,UINT,  0 },  
         { "record.block_size",  &info.record.block_size,UINT,   0 },          { "record.block_size",  &info.record.block_size,UINT,   0 },
         { "record.errors",      &rerrors,               INT,    READONLY },          { "record.errors",      &rerrors,               INT,    READONLY },
         { 0 }          { 0 }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24