19 Jun '13 - 07:56 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Does BASS_MIXER_FILTER have an effect on decode streams?  (Read 349 times)
jalbers
Posts: 43


« on: 27 May '12 - 05:18 »
Reply with quoteQuote

I'm trying to upgrade my program to the latest version of Bass (version 2.4.9 from 2.4.8 ) and noticed that BASS_MIXER_FILTER is no longer declared in the header file and has been "superseded by BASS_ATTRIB_SRC".

I was using BASS_MIXER_FILTER on a decode stream and I see now that BASS_ATTRIB_SRC has no effect on decode streams.

Did/Does BASS_MIXER_FILTER have an effect on decode streams? If so, is there an equivalent way of improving the decode stream's resample quality using version 2.4.9?
« Last Edit: 27 May '12 - 18:55 by jalbers » Logged
Ian @ un4seen
Administrator
Posts: 15363


« Reply #1 on: 28 May '12 - 16:05 »
Reply with quoteQuote

Yes, BASS_MIXER_FILTER did have effect on decoding channels. Mixer sources need be decoding channels, so it had to Smiley

The new BASS_ATTRIB_SRC attribute applies to decoding channels in the same way as the BASS_ATTRIB_FREQ/PAN/VOL attributes. BASS won't apply any processing for those attributes itself on decoding channels, but BASSmix will read the settings and apply them when generating mixer output. Here's an example of setting a mixer source's SRC quality...

source=BASS_StreamCreateFile(FALSE, filename, 0, 0, BASS_SAMPLE_FLOAT|BASS_STREAM_DECODE); // create a decoding channel from a file
BASS_ChannelSetAttribute(source, BASS_ATTRIB_SRC, quality); // set its SRC quality
BASS_Mixer_StreamAddChannel(mixer, source, 0); // plug it into a mixer
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines