Changeset 2747:3b74f02762f5 in roaraudio
- Timestamp:
- 09/21/09 23:55:45 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r2734 r2747 873 873 buflen = ROAR_OUTPUT_CALC_OUTBUFSIZE_MAX(info, stream_info); 874 874 875 ROAR_DBG("streams_fill_mixbuffer2(id=%i, info=%p{...}): inlen=%lu, buflen=%lu", id, info, (unsigned long)inlen, (unsigned long)buflen); 876 875 877 if ( inlen == 0 ) { 876 878 ROAR_WARN("streams_fill_mixbuffer2(id=%i, info=%p{...}): inlen == 0, this should not happen!", id, info); … … 959 961 960 962 if ( !streams_get_flag(id, ROAR_FLAG_HWMIXER) && !streams_get_flag(id, ROAR_FLAG_PASSMIXER) ) { 963 ROAR_DBG("streams_fill_mixbuffer2(*): CALL change_vol(*)..."); 961 964 if ( change_vol(outdata, info->bits, outdata, 8*outlen / info->bits, info->channels, &(ss->mixer)) == -1 ) 962 965 return -1; … … 964 967 965 968 if ( streams_get_flag(id, ROAR_FLAG_ANTIECHO) ) { 969 ROAR_DBG("streams_fill_mixbuffer2(*): Calcing antiecho..."); 966 970 // we can ignore errors here: 967 971 if ( stream_outputbuffer_request(id, &bufbuf, buflen) == 0 ) { … … 973 977 s->pos = ROAR_MATH_OVERFLOW_ADD(s->pos, ROAR_OUTPUT_CALC_OUTBUFSAMP(info, outlen)*info->channels); 974 978 979 ROAR_DBG("streams_fill_mixbuffer2(*) = 0"); 975 980 return 0; 976 981 }
Note: See TracChangeset
for help on using the changeset viewer.