Implement Audio Splice Frame Algorithm




4 years ago
2 years ago


(Reporter: jya, Unassigned)


(Blocks: 1 bug)

Dependency tree / graph

Firefox Tracking Flags

(firefox41 affected)




4 years ago
Part of the MSE spec:

When audio data is appended to a source buffer and is about to replace an existing range of audio, the overlapped frames are supposed to be spliced according to the audio splice frame algorithm.

I got an idea on how this could be very easily implemented without much overhead in the new MSE architecture (bug 1119208)

Comment 1

4 years ago
This bug is about supporting cross-fading, and not just the "splicing"
Component: Audio/Video → Audio/Video: Playback

Comment 2

2 years ago
Is there anything blocking this bug?
Flags: needinfo?(jyavenard)

Comment 3

2 years ago
(In reply to Florian Bender from comment #2)
> Is there anything blocking this bug?

someone to write the code maybe?

That would involved either:
1- decoding the data as it's being added so that the cross-fading is done during appendBuffer phase
2- Do it at playback time.

In any case, it's not compulsory, and I'm not sure we should care about it.
Flags: needinfo?(jyavenard)
You need to log in before you can comment on or make changes to this bug.