Changeset 5537:8cdd39efa8b9 in roaraudio


Ignore:
Timestamp:
06/12/12 15:34:08 (7 years ago)
Author:
phi
Branch:
default
Message:

use roar_str2rate(), roar_str2channels() and roar_str2bits() for virtual streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r5534 r5537  
    908908 ROAR_DBG("newvirtual(*): dir=%i, parent=%i", dir, parent); 
    909909 
    910  if ( roar_stream_new(&s, atoi(r_s), atoi(c_s), atoi(b_s), roar_str2codec(e_s)) == -1 ) 
     910 if ( roar_stream_new(&s, roar_str2rate(r_s), roar_str2channels(c_s), roar_str2bits(b_s), roar_str2codec(e_s)) == -1 ) 
    911911  return -1; 
    912912 
Note: See TracChangeset for help on using the changeset viewer.