Alex Chronopoulos
ec9537b3e4
Bug 1378070 - Update AudioConverter to use destination buffer. r=jya
...
MozReview-Commit-ID: KCheY0DCjh4
--HG--
extra : rebase_source : 77f289e642df4ca5325bd622d78c6c59924ad0c1
2017-08-28 17:15:46 +03:00
Jean-Yves Avenard
4a75062993
Bug 1305826: P1. Fix move constructor. r=gerald
...
With a const input, the object would never be moved but copied instead
MozReview-Commit-ID: 7VUJDLCxOQJ
--HG--
extra : rebase_source : de77074cc9c6632c82dcbdec242e2692f7790a66
2016-10-01 12:02:46 +10:00
Jean-Yves Avenard
bf129486d9
Bug 1266260: P2. Check for OOM. r=gerald
...
Additionally, indicate in clearer fashion where setting length can't fail.
MozReview-Commit-ID: LSZtCclqhK1
--HG--
extra : rebase_source : 2dd254649809bc534c1dfc78e33ce3f46fae323c
2016-05-11 12:15:36 +02:00
Jean-Yves Avenard
45a02f35c6
Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
...
MozReview-Commit-ID: KqcB0FYxNtC
--HG--
extra : rebase_source : 63eff5cb4d66483ecc2871440dda6bc9f73d9822
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard
82191ba4a5
Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
...
MozReview-Commit-ID: 4sCvNWKEMZS
--HG--
extra : rebase_source : aeb02fb5b7bbfb0cb5f810900d3cd6ffbf404590
2016-04-13 19:50:54 +10:00
Carsten "Tomcat" Book
938af1a4e6
Backed out changeset 22004be7c5f1 (bug 1264199)
...
--HG--
extra : rebase_source : 4203c43a095ef34de0a2c52fffda1558b4b955b8
2016-04-21 16:31:57 +02:00
Carsten "Tomcat" Book
baaa1f0ede
Backed out changeset b83be2d0614b (bug 1264199)
...
--HG--
extra : rebase_source : f8962f950f2fa089ca7eb297aca3b8711c5586c5
2016-04-21 16:31:54 +02:00
Jean-Yves Avenard
b6a41a813c
Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
...
MozReview-Commit-ID: KqcB0FYxNtC
--HG--
extra : rebase_source : 6004cd28d70f5ac44644aa00f852d0afd95017a9
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard
5599bfcc1c
Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
...
MozReview-Commit-ID: 4sCvNWKEMZS
--HG--
extra : rebase_source : 4a77307d2bc5467ff04801d962b73b9bd2ece6f4
2016-04-13 19:50:54 +10:00
Wes Kocher
b8f98ffe9f
Backed out 8 changesets (bug 1264199) for permafailing media mochitests on OSX 10.6 a=backout
...
Backed out changeset 0f20f2080824 (bug 1264199)
Backed out changeset 90351d2719be (bug 1264199)
Backed out changeset f484b42cbdda (bug 1264199)
Backed out changeset b79b62146120 (bug 1264199)
Backed out changeset f587df589b69 (bug 1264199)
Backed out changeset 02f781a573b4 (bug 1264199)
Backed out changeset d3677ae4c8ec (bug 1264199)
Backed out changeset d08288654ec9 (bug 1264199)
MozReview-Commit-ID: HVtiBSOxf7t
2016-04-20 11:01:36 -07:00
Jean-Yves Avenard
ab5924e4e6
Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
...
MozReview-Commit-ID: KqcB0FYxNtC
2016-04-20 15:03:40 +10:00
Jean-Yves Avenard
1e790d0956
Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
...
MozReview-Commit-ID: 4sCvNWKEMZS
2016-04-20 15:03:27 +10:00
Carsten "Tomcat" Book
a7abcccd64
Backed out changeset 1086b48deaa3 (bug 1264199)
2016-04-18 14:22:03 +02:00
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