Author Topic: mixer decoding to soundcard ??  (Read 152 times)

bassfriend

  • Posts: 44
mixer decoding to soundcard ??
« on: 7 Sep '22 - 19:49 »
Hi there, I'm using a mixer and decoding channels to play files and cast them in this way:
BASS_Encode_Start(Form1.g_workers[nummer]^.mixer,
                    ComLine, BASS_ENCODE_CAST_NOLIMIT OR BASS_ENCODE_NOHEAD or BASS_ENCODE_AUTOFREE, ....

works fine, now I'd like to put the output of the mixer on a soundcard too, but I do know how,

sorry can anybody help me? THX

Ian @ un4seen

  • Administrator
  • Posts: 24730
Re: mixer decoding to soundcard ??
« Reply #1 on: 8 Sep '22 - 12:46 »
How are you currently creating and processing the mixer, eg. what does the BASS_Mixer_StreamCreate call look like? If you're setting the BASS_STREAM_DECODE flag on it and using BASS_ChannelGetData to process it, then you could remove that and just call BASS_ChannelPlay instead.