Changeset 5236:0a8740e27666 in roaraudio for libroarsndio


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:
libroarsndio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/para.c

    r4891 r5236  
    173173  return 0; 
    174174 
    175  if ( roar_server_oinfo2(&(hdl->con), &s, ROAR_DIR_PLAY) == -1 ) 
     175 if ( roar_server_oinfo(&(hdl->con), &s, ROAR_DIR_PLAY) == -1 ) 
    176176  return 0; 
    177177 
  • libroarsndio/volume.c

    r5235 r5236  
    6666 mixer.mixer[0] = vol; 
    6767 
    68  if ( roar_set_vol2(&(hdl->con), roar_stream_get_id(&(hdl->stream)), &mixer, 0, ROAR_SET_VOL_UNMAPPED) == -1 ) 
     68 if ( roar_set_vol(&(hdl->con), roar_stream_get_id(&(hdl->stream)), &mixer, 0, ROAR_SET_VOL_UNMAPPED) == -1 ) 
    6969  return 0; 
    7070 
     
    7272  mixer.mixer[i] = vol; 
    7373 
    74  if ( roar_set_vol2(&(hdl->con), roar_stream_get_id(&(hdl->stream)), &mixer, hdl->info.channels, ROAR_SET_VOL_ALL) == -1 ) 
     74 if ( roar_set_vol(&(hdl->con), roar_stream_get_id(&(hdl->stream)), &mixer, hdl->info.channels, ROAR_SET_VOL_ALL) == -1 ) 
    7575  return 0; 
    7676 
Note: See TracChangeset for help on using the changeset viewer.