Changeset 2089:a6470068db32 in roaraudio


Ignore:
Timestamp:
07/20/09 17:29:50 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

change of volume now only once for both, converted and non converted streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r2088 r2089  
    894894  if ( inlen < outlen ) 
    895895   memset(outdata+inlen, 0, outlen-inlen); 
    896  
    897   if ( !streams_get_flag(id, ROAR_FLAG_HWMIXER) ) { 
    898    if ( change_vol(outdata, info->bits, outdata, 8*outlen / info->bits, info->channels, &(ss->mixer)) == -1 ) 
    899     return -1; 
    900   } 
    901  
    902   return 0; 
    903896 } else { 
    904897  if ( roar_conv(outdata, indata, (8*inlen_got*info->rate)/(stream_info->rate * stream_info->bits), stream_info, info) == -1 ) { 
Note: See TracChangeset for help on using the changeset viewer.