LoadStream problem

Hi everyone!
We have a problem to stop and play audio with “loadStream”.

This is my code:

[code]local Audio01 = audio.loadSound(“Audio01.mp3”)

function Page01 (event)
audio.play(Audio01, {channel=2, loops=0,})
end

function ExitPage01 (event)
audio.stop(2)
end
[/code]

When I call “ExitPage01” the audio is stopped, and when I call “Page01” again, the audio file is played from the beginning. This is that I want.
But if I decide to use loadStream instead of loadSound, when I call “Page01” again, the audio file is played from the exact time when was stopped.
This is a bug or is the normal behaviour?
I tried to fix it with audio.rewind(2), but doesn’t work.

Thanks in advance.
Rafael León.
[import]uid: 104648 topic_id: 22609 reply_id: 322609[/import]

It is normal behavior. Streams are a little different than sounds. For streams, since a single stream can’t be played on different channels at the same time, you can rewind the handle instead of the channel. Since you stopped the sound, audio.rewind(2) won’t do anything since it was detached from the channel when you stopped it.
[import]uid: 7563 topic_id: 22609 reply_id: 90151[/import]

Thanks so much! [import]uid: 104648 topic_id: 22609 reply_id: 90436[/import]