Changeset 5624:ec1593cc8525 in roaraudio for roarclients


Ignore:
Timestamp:
08/18/12 02:04:07 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Added support for RePlayGain? (RPG) control (See: #300)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r5537 r5624  
    763763 
    764764int display_mixer (struct roar_connection * con, int stream) { 
     765 struct roar_stream_rpg rpg; 
    765766 struct roar_mixer_settings mixer; 
     767 struct roar_stream s; 
    766768 int channels; 
    767769 int i; 
     
    771773  fprintf(stderr, "Error: can not get stream mixer info for stream %i\n", stream); 
    772774  return -1; 
     775 } 
     776 
     777 roar_stream_new_by_id(&s, stream); 
     778 if ( roar_stream_get_rpg(con, &s, &rpg) != -1 ) { 
     779  printf("ReplayGain Mode       : %s\n", roar_rpgmode2str(rpg.mode)); 
    773780 } 
    774781 
Note: See TracChangeset for help on using the changeset viewer.