Posts: 9
Joined: Aug 2013
Reputation:
0
2013-08-03, 02:01
(This post was last modified: 2013-08-03, 02:04 by altarama.)
I've noticed that the XBMC player implements a brief audio fade-out when pausing, and then a fade-in when unpausing. While desirable in most applications, I would like a way to turn this off (so there are 0 ms between pause and the audio stopping) , or be able to set the fade time.
Is there a way to do this?
Posts: 31,445
Joined: Jan 2011
I've never noticed this...
Posts: 6,810
Joined: Jul 2010
Reputation:
198
The delay after pressing pause is not caused by fade-out. Currently the audio sinks can't be paused, hence they play out the buffer after pause. Not a trivial change but I have thought about this for the new audio engine ActiveAE.
Posts: 9
Joined: Aug 2013
Reputation:
0
Thanks for the clarification, FernetMenta. I'm interested in helping provide this as an optional feature. As I am just beginning to get acquainted with the source code, would you be able to point me to where this happens in the audio engine?
Posts: 31,445
Joined: Jan 2011
(2013-08-03, 19:05)Memphiz Wrote: FernetMenta ... i guess he means the 80ms fadeout/fadein which is hardcoded in paplayer ... see
https://github.com/xbmc/xbmc/blob/master...er.cpp#L38
Oooh. I thought is was with movie playback.
Posts: 9
Joined: Aug 2013
Reputation:
0
Yes I was referring to audio playback (on Windows).
I've noticed that the mute function does cut off the sound "instantaneously" as opposed to what pause does, so I'm thinking there must be some way to do this.