Hi
welche version benutzt du? BASS_CD_FREEOLD wird in BASS_CD_StreamCreate nicht mehr benutzt.
versuche es mal mit mit.
Delphi-Quellcode:
chan := BASS_CD_StreamCreate(drive, track, BASS_STREAM_DECODE or BASS_STREAM_AUTOFREE);
If (chan = 0) then
begin
Error()
end;
chan := BASS_FX_TempoCreate(chan, BASS_FX_FREESOURCE or BASS_STREAM_AUTOFREE);
If (chan = 0) then
begin
Error()
end
// play new created stream
BASS_ChannelPlay(chan, FALSE);
Delphi-Quellcode:
BASS_SetConfig(
BASS_CONFIG_CD_FREEOLD,
BOOL freeold
);
History
=======
2.3.0.3 - 9/7/2007
------------------
* Vista compatibility fix
2.3.0.2 - 25/11/2006
--------------------
* Drive letter support when using ASPI on NT-based Windows
BASS_CD_GetDriveLetter
2.3.0.1 - 27/6/2006
-------------------
* Pregap length retrieval
BASS_CD_GetTrackPregap
* MusicBrainz ID generation
BASS_CDID_MUSICBRAINZ (BASS_CD_GetID type)
2.3 - 21/5/2006
---------------
* Adjustable read speed
BASS_CD_SetSpeed
BASS_CD_GetSpeed
* Automatic speed reduction upon read errors
BASS_CONFIG_CD_AUTOSPEED (BASS_SetConfig option)
BASS_SYNC_CD_SPEED (BASS_ChannelSetSync type)
* Configurable read error retries
BASS_CONFIG_CD_RETRY (BASS_SetConfig option)
* Skip past read errors
BASS_CONFIG_CD_SKIPERROR (BASS_SetConfig option)
* Error sync now triggered by every read error (not just ending playback)
BASS_SYNC_CD_ERROR (BASS_ChannelSetSync type)
2.2 - 2/10/2005
---------------
* Support for new plugin system (BASS_PluginLoad)
* Track changing
BASS_CD_StreamSetTrack
CDTEST example updated
* FREEOLD flag replaced by a config option
BASS_CONFIG_CD_FREEOLD (BASS_SetConfig option)
BASS_CD_FREEOLD *removed*
* Info structure "size" member removed
BASS_CD_INFO structure