Author Topic: BASS_ErrorGetCode Code 4000  (Read 64 times)

anyongfu

  • Posts: 1
BASS_ErrorGetCode Code 4000
« on: 13 Sep '22 - 04:49 »
BASS_FX_TempoCreate(chan,BASS_FX_FREESOURCE)

BASS_ErrorGetCode return 4000

Why? I didn't find it in the document


Ian @ un4seen

  • Administrator
  • Posts: 24577
Re: BASS_ErrorGetCode Code 4000
« Reply #1 on: 13 Sep '22 - 15:33 »
That looks like you're using an old BASS_FX version that had a BASS_ERROR_FX_NODECODE error code (defined as 4000). More recent BASS_FX versions use the BASS_ERROR_DECODE error code instead. In either case, the issue is that the stream passed to BASS_FX_TempoCreate doesn't have the BASS_STREAM_DECODE flag set on it.