Author Topic: BASS_ChannelFlags - does not work with SPEAKER flags?  (Read 123 times)

fmcoder

  • Posts: 436
It appears that BASS_ChannelFlags is unable to modify the SPEAKER flags. Below is the code.

BASS_Init(DeviceIdx, 48000, BASS_DEVICE_SPEAKERS, Handle, nil);

1) This works, the stream is played on rear speakers:
Code: [Select]
BASS_Mixer_StreamCreate(48000, 2, BASS_SAMPLE_FLOAT or BASS_SPEAKER_REAR)
2) This does not. BASS_ErrorGetCode is zero. Stream plays on front speakers.
Code: [Select]
BASS_Mixer_StreamCreate(48000, 2, BASS_SAMPLE_FLOAT);
BASS_ChannelFlags(C, BASS_SPEAKER_REAR, BASS_SPEAKER_REAR);