Home > Archive (Community help, from old helpdesk) > Audio Volumn and Audio Stream and Audio Effect Automatic reset problem

Audio Volumn and Audio Stream and Audio Effect Automatic reset problem

Avatar image
Aug 23, 2015
Archive Agent wrote
I'm set the audio volumn, and audio stream, and audio effect. 100% volumn, open audio stream 1, close stream 2(It's all set before play)
and look some movie cd1.
and change volumn to 70%, and open audio stream 2, close 1.add some audio effect.

when cd1 is finish I'm let it stop:Player.Stop(), and play cd2(I replace the FilenamesOrURL property to cd2),and : Player.Play();

but the audio volumn , audio stream, and audio effect all automatic reset. (audio effect I'm not clear, but it's gone, and the volumn change to 100, and the audio stream changed to open stream1)

please fixed that.

qakmak on May 22, 2013 12:15
Completed
0
Vote
Reply
6 Answers
Aug 23, 2015
Archive Agent agent wrote
qakmak

event I'm add some code let the media player set Itself before play cd2, not working.
I mean ,when I'm changed to cd2 I set the media player again.like:

//Reacquire the current volume
Player.Audio_Volume_Set(0, Volume * 10);

and current Volume is 70%.

but when it play , still 100%. I don't understand.

on May 22, 2013 12:19
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

For a new file volumes and streams are resetted, it's normal, not a bug.

on May 22, 2013 12:25
Aug 23, 2015
Archive Agent agent wrote
qakmak

I think that before, so I'm add that commit. baybe you're not look it.
event I change Media player volumn or something to my current value.
still not working. that's is a real problem. right?

on May 22, 2013 13:03
Aug 23, 2015
Archive Agent agent wrote
qakmak

I mean I already set the media player value when cd1 playing finish and before cd2 play.
but media player value looks like not change when it playing cd2.

on May 22, 2013 13:48
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

1. Start playback
2. Set volume

on May 22, 2013 13:53
Aug 23, 2015
Archive Agent agent wrote
qakmak

sounds weird, but I can use it. thanks.

on May 28, 2013 07:50