Changeset 5236:0a8740e27666 in roaraudio for libroar


Ignore:
Timestamp:
11/12/11 16:42:21 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Removed roar_set_vol() and roar_server_oinfo(), as well as roar_exit().

Location:
libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroar/ctl.c

    r5189 r5236  
    5757} 
    5858 
    59 int roar_server_oinfo   (struct roar_connection * con, struct roar_stream * s) { 
    60  return roar_server_oinfo2(con, s, -1); 
    61 } 
    62  
    63 int roar_server_oinfo2  (struct roar_connection * con, struct roar_stream * s, int dir) { 
     59int roar_server_oinfo  (struct roar_connection * con, struct roar_stream * s, int dir) { 
    6460 struct roar_message mes; 
    6561 
     
    126122} 
    127123 
    128 int roar_exit   (struct roar_connection * con) { 
    129  return roar_terminate(con, 0); 
    130 } 
    131  
    132124int roar_terminate (struct roar_connection * con, int terminate) { 
    133125 struct roar_message mes; 
     
    232224} 
    233225 
    234 int roar_set_vol      (struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int channels) { 
    235  return roar_set_vol2(con, id, mixer, channels, ROAR_SET_VOL_ALL); 
    236 } 
    237  
    238 int roar_set_vol2     (struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int   channels, int mode) { 
     226int roar_set_vol     (struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int   channels, int mode) { 
    239227 struct roar_message m; 
    240228 uint16_t * info = (uint16_t *) m.data; 
  • libroar/vs.c

    r5227 r5236  
    11511151  mode = ROAR_SET_VOL_UNMAPPED; 
    11521152 
    1153  if ( roar_set_vol2(vss->con, roar_stream_get_id(&(vss->stream)), &mixer, channels, mode) == 0 ) 
     1153 if ( roar_set_vol(vss->con, roar_stream_get_id(&(vss->stream)), &mixer, channels, mode) == 0 ) 
    11541154  return 0; 
    11551155 
     
    11671167 mode     = ROAR_SET_VOL_ALL; 
    11681168 
    1169  if ( roar_set_vol2(vss->con, roar_stream_get_id(&(vss->stream)), &mixer, channels, mode) == -1 ) { 
     1169 if ( roar_set_vol(vss->con, roar_stream_get_id(&(vss->stream)), &mixer, channels, mode) == -1 ) { 
    11701170  _seterrre(); 
    11711171  return -1; 
Note: See TracChangeset for help on using the changeset viewer.