Commit Graph

10 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
5cd62eeaee Backed out changeset 4e02fc1cbd35 (bug 1264199) 2016-04-18 14:22:00 +02:00
Jean-Yves Avenard
730f304d31 Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
MozReview-Commit-ID: KqcB0FYxNtC

--HG--
extra : rebase_source : 777c5b85e8999a54a8b0b5c9da999d41e746daa2
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard
d9d9a0a69f Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
MozReview-Commit-ID: 4sCvNWKEMZS

--HG--
extra : rebase_source : 8e6df035e7cc4ba37bce748bec9f47276f201c22
2016-04-13 19:50:54 +10:00
Jean-Yves Avenard
b382680a6a Bug 1262753: P5. Pass number of frames rather than the number of bytes. r=gerald
The Process API was originally planned to be used to also convert data type. However, this task is now the responsibility of the AudioDataBuffer class.
We can simplify the logic and use frames everywhere.

MozReview-Commit-ID: KvKn1d1yHqQ

--HG--
extra : rebase_source : cd5a3ec2c0293fa39274828ebfd9e80103126cc5
2016-04-12 12:16:38 +10:00
Jean-Yves Avenard
ab5d1e11d2 Bug 1262753: P4. Add resampling capabilities to AudioConverter. r=kinetik
MozReview-Commit-ID: 93PNC5ooEPg

--HG--
extra : rebase_source : 85aff569f014833d23f23ce488bd61dee8749109
2016-04-11 21:07:11 +10:00
Jean-Yves Avenard
09de840ad6 Bug 1262753: P3. Add AudioConverter::InputConfig/OutputConfig. r=gerald
Allow access to original constructor objects, to avoid having to store the original AudioConfig objects elsewhere.

MozReview-Commit-ID: 66pbRJ0wyl

--HG--
extra : rebase_source : 8d9331db430494ead6dad726d18ff4ef5ebdc8a0
2016-04-11 21:04:15 +10:00
Jean-Yves Avenard
a0a6145da5 Bug 1262753: P2. Add AudioDataBuffer::operator=. r=gerald
MozReview-Commit-ID: D68ikKaDtj0

--HG--
extra : rebase_source : 29bda85c9d9c1374fcd9ffe31d3378a599ae074c
2016-04-11 21:01:45 +10:00
Jean-Yves Avenard
26e3402cf4 Bug 1262746: P1. Add downmixing capabilities to AudioConverter. r=rillian
This is using the same downmixer algorithm as found in the ogg reader.

MozReview-Commit-ID: 5KwVLPOg7Tt

--HG--
extra : rebase_source : 523979251421c49ddd05b90498d2ec8eb3309b94
2016-04-08 17:32:57 +10:00
Jean-Yves Avenard
f586d2251b Bug 1248861: P9. Use ChannelLayout::MappingTable. r=gerald
MozReview-Commit-ID: 63584qWSKrs

--HG--
extra : rebase_source : 8337aadc084d0ed3235a15bb3167c0ef6d9e3bae
2016-04-07 15:26:20 +10:00
Jean-Yves Avenard
4b33cb8216 Bug 1248861: P5. Add AudioConverter class and relatives. r=cpearce
To be used in combination with AudioDataBuffer class that will be able to perform format conversion.
Can currently only perform channel re-ordering.

Future use will add downmixing, upmixing and resampling capabilities.

MozReview-Commit-ID: 2FBu9aRVtgj

--HG--
extra : rebase_source : 366178114b2bd3da40b247ae0fbe1e04cf83e452
2016-04-04 18:22:05 +10:00