Changeset 5624:ec1593cc8525 in roaraudio for include/libroar/stream.h


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
  • include/libroar/stream.h

    r5535 r5624  
    5757}; 
    5858 
     59struct roar_stream_rpg { 
     60 int        mode; 
     61 uint16_t   mul; 
     62 uint16_t   div; 
     63}; 
     64 
    5965int roar_stream_connect (struct roar_connection * con, struct roar_stream * s, int dir, int mixer) _LIBROAR_STREAM_STDATTRS; 
    6066 
     
    95101int roar_stream_set_role  (struct roar_connection * con, struct roar_stream * s, int role) _LIBROAR_STREAM_STDATTRS; 
    96102 
     103int roar_stream_get_rpg   (struct roar_connection * con, struct roar_stream * s, struct roar_stream_rpg * rpg) _LIBROAR_STREAM_STDATTRS; 
     104int roar_stream_set_rpg   (struct roar_connection * con, struct roar_stream * s, const struct roar_stream_rpg * rpg) _LIBROAR_STREAM_STDATTRS; 
     105 
    97106int roar_stream_s2m     (struct roar_stream * s, struct roar_message * m); 
    98107int roar_stream_m2s     (struct roar_stream * s, struct roar_message * m); 
     
    113122const char * roar_role2str  (const int    role) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
    114123 
     124const char * roar_rpgmode2str(const int rpgmode) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
     125 
    115126ssize_t roar_info2samplesize (struct roar_audio_info * info) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE; 
    116127ssize_t roar_info2framesize  (struct roar_audio_info * info) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE; 
Note: See TracChangeset for help on using the changeset viewer.