Skip to content
  • brendan's avatar
    shout_(get|set)_bitrate REMOVED. · d1b6cc7f
    brendan authored
    Instead of shout_set_bitrate(shout_t, int bitrate),
    use
    shout_set_audio_info(shout_t, SHOUT_AI_BITRATE, const char* bitrate)
    For shout_get_bitrate,
    use shout_get_audio_info(shout_t, SHOUT_AI_BITRATE).
    
    Note the result is a const char*.
    
    After some discussion with oddsock about YP, we decided it would be nice to be able
    to send more information about the audio parameters of the stream. Currently
    defined are SHOUT_AI_BITRATE, SHOUT_AI_SAMPLERATE, SHOUT_AI_CHANNELS, and
    SHOUT_AI_QUALITY (vorbis quality). Adding more is easy, but the client can also
    use its own arbitrary strings instead of the defined constants.
    
    This is commit one, which makes no change to the wire protocol. In the second
    commit, I'll change the ice-bitrate field to ice-audio-info.
    
    svn path=/trunk/libshout/; revision=4359
    d1b6cc7f