hey. so, basically i'm trying to do this:
1. play a wma stream
2. if chosen, record it to disk ( using flac.exe and the example from bass.net about encoders )
3. have a volume control on 1.
4. volume control doesn't affect the recorded data
right now everything works fine except for 4.
and it currently works like this:
1. play
2. press a button to record, and then this code is executed
public void Record(string filename)
{
flacrec = new EncoderFLAC(_Stream);
flacrec.InputFile = null;
flacrec.OutputFile = filename;
flacrec.FLAC_CompressionLevel = 8;
flacrec.Start(null, IntPtr.Zero, false);
}
where _Stream is my playing stream handle.
but then if i adjust the volume with DSP_Gain on the playing stream, that's the way it gets recorded, with lower volume.
so my question would be, how do i clone a stream without cloning the dsp that's set on it.
or something like that..
i checked the samples and bass.net help. tried with BASS_StreamCreatePush(), but either i don't get it or it's not suitable for me.
or maybe there's another method of making software volume mixer, not using dsps?