i have implemented a stop with fade-out (like shift-stop in winamp)
in the UI that i'm writing.

during the fade-out it does:
m_playerEQ->AcceptEvent (new VolumeEvent (fade_volume));

and at the end of the fade-out process:
m_playerEQ->AcceptEvent (new Event (CMD_Stop));
m_playerEQ->AcceptEvent (new VolumeEvent (original_volume));


the problem is that the last VolumeEvent does not set the volume
until something is played.  and if the user quits the player after
a fade-out, the volume of the soundcard will be zero.

one possible workaround would be to play a small "dummy" silent buffer
after setting the volume. how do i send raw sound data to the PMO?

i already tried to change the order, that is, first set the original
volume and then stop, but it plays an annoying "pop".


-- 
Rodolfo Borges [[EMAIL PROTECTED]]

Reply via email to