Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 4bde53c7a1 Bug 1275098: Silence incorrect dumb compiler warning. r=cpearce
MozReview-Commit-ID: In7HSZM2SjX

--HG--
extra : rebase_source : 9f4358e5fad4b0233847fc96a6a8097ea101498a
2016-05-24 10:16:39 +10:00
Jean-Yves Avenard 2fb52f2e0d Bug 1264199: P8. Handle potential resampling errors. r=kinetik
The speex resampler can never return an error in its current state. But just in case and to handle any future changes to the speex resampler.
Also ensure that we can never access a stale speex resampler.

MozReview-Commit-ID: CEME0AA9ghK

--HG--
extra : rebase_source : 3dc40aa0833a85646be6d1d1a3b927fa0b5eb038
2016-04-19 14:53:18 +10: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
Carsten "Tomcat" Book 16aeec1c9f Backed out changeset b52399a4a175 (bug 1264199)
--HG--
extra : rebase_source : 44b5b6ff5e4adfa960dde4f0fbde60c6f5100f3e
2016-04-21 16:31:51 +02:00
Jean-Yves Avenard 046068db58 Bug 1264199: P8. Handle potential resampling errors. r=kinetik
The speex resampler can never return an error in its current state. But just in case and to handle any future changes to the speex resampler.
Also ensure that we can never access a stale speex resampler.

MozReview-Commit-ID: CEME0AA9ghK

--HG--
extra : rebase_source : a8d9ba46a4a4bbfd8d29a7d8bb6df01d9d828ad6
2016-04-19 14:53:18 +10: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 167a9eb1f1 Bug 1264199: P8. Handle potential resampling errors. r=kinetik
The speex resampler can never return an error in its current state. But just in case and to handle any future changes to the speex resampler.
Also ensure that we can never access a stale speex resampler.

MozReview-Commit-ID: CEME0AA9ghK
2016-04-20 15:03:53 +10: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 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