Hello I got this player
_musicFile = myFuntions.openFileTz();
_stream = Bass.BASS_StreamCreateFile(_musicFile, 0L, 0L, BASSFlag.BASS_STREAM_DECODE);
//Stream for PITCHSHIFT
_streamPitch = Bass.BASS_ChannelSetFX(_stream, BASSFXType.BASS_FX_BFX_PITCHSHIFT, 0);
//Stream for MONO STEREO
_streamMono = Bass.BASS_ChannelSetFX(_stream, BASSFXType.BASS_FX_BFX_MIX, 0);
//Stream for TEMPO, usamos este stream por cause do pitch
_streamSpeed = BassFx.BASS_FX_TempoCreate(_stream, BASSFlag.BASS_STREAM_AUTOFREE);
Now when I do Play:
Bass.BASS_ChannelPlay(_streamSpeed, false);
When Pause:
Bass.BASS_ChannelPause(_streamSpeed);
When doing Stop I have :
Bass.BASS_ChannelStop(_streamSpeed);
The problem is:
- When I do stop I can not do play again.
- cause theres no sound.
- the initial stream is _stream
- and the play is on _streamSpeed
How can I make "stop and play" whitout open the file again.
Thanks