Changeset 2085:4194fe29d77a in roaraudio
- Timestamp:
- 07/20/09 15:32:56 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r2028 r2085 180 180 int32_t universe = -1; 181 181 uint16_t tu16; 182 float q = -32e6; 182 183 183 184 ROAR_DBG("add_output(drv='%s', dev='%s', opts='%s') = ?", drv, dev, opts); … … 236 237 error++; 237 238 } 239 } else if ( strcmp(k, "q") == 0 ) { 240 q = atof(v); 238 241 } else if ( strcmp(k, "blocks") == 0 ) { 239 242 blocks = atoi(v); … … 327 330 roar_vio_ctl(&(ss->vio), ROAR_VIO_CTL_SET_SSTREAM, s); // ignore errors here 328 331 332 if ( q > -1e6 ) 333 streams_ctl(stream, ROAR_CODECFILTER_CTL_SET_Q|ROAR_STREAM_CTL_TYPE_FLOAT, &q); 334 329 335 if ( blocks != -1 ) 330 336 roar_vio_ctl(&(ss->vio), ROAR_VIO_CTL_SET_DBLOCKS, &blocks);
Note: See TracChangeset
for help on using the changeset viewer.