Author Topic: Remove left channel from stereo stream  (Read 334 times)

Cafony

  • Posts: 33
Remove left channel from stereo stream
« on: 5 Apr '24 - 11:06 »
Im trying to remove Remove left channel from stereo stream:

Code: [Select]
int leftChannel = BassMix.BASS_Split_StreamCreate(_stream, BASSFlag.BASS_STREAM_AUTOFREE | BASSFlag.BASS_SPLIT_LEFT);

but BASSFlag.BASS_SPLIT_LEFT dont show up in my library, can you teel me if is not active in the new librarys?

Then, want to invert this stream 180 degrees

Code: [Select]
Bass.BASS_ChannelSetAttribute(leftChannel, BASSAttribute.BASS_ATTRIB_REVERSE_DIR, -1);

Is this code ok?

Thanks for al your help !!