Commit Graph
24 Commits
Author SHA1 Message Date
Alex Chronopoulos 75322a7fd3 Bug 1378070 - Update AudioConverter to use destination buffer. r=jya
MozReview-Commit-ID: KCheY0DCjh4
2017-08-28 17:15:46 +03:00
Jean-Yves Avenard df23cb6c52 Bug 1275098: Silence incorrect dumb compiler warning. r=cpearce
MozReview-Commit-ID: In7HSZM2SjX
2016-05-24 10:16:39 +10:00
Jean-Yves Avenard bdb4652799 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-19 14:53:18 +10:00
Jean-Yves Avenard b5c69e904a Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
MozReview-Commit-ID: KqcB0FYxNtC
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard c76c09d46e Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
MozReview-Commit-ID: 4sCvNWKEMZS
2016-04-13 19:50:54 +10:00
Carsten "Tomcat" Book c51e304360 Backed out changeset 22004be7c5f1 (bug 1264199) 2016-04-21 16:31:57 +02:00
Carsten "Tomcat" Book fbf028b556 Backed out changeset b83be2d0614b (bug 1264199) 2016-04-21 16:31:54 +02:00
Carsten "Tomcat" Book 15edf4db3e Backed out changeset b52399a4a175 (bug 1264199) 2016-04-21 16:31:51 +02:00
Jean-Yves Avenard 2d2ecec3b9 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-19 14:53:18 +10:00
Jean-Yves Avenard 9aa4459fc3 Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
MozReview-Commit-ID: KqcB0FYxNtC
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard ac8c52b800 Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
MozReview-Commit-ID: 4sCvNWKEMZS
2016-04-13 19:50:54 +10:00
Wes Kocher b67d7de5f6 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 31ec49ed3c 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 c16b4d26b5 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 f92fd2b776 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 0d07fb36b7 Backed out changeset 1086b48deaa3 (bug 1264199) 2016-04-18 14:22:03 +02:00
Carsten "Tomcat" Book eae7e22be4 Backed out changeset 4e02fc1cbd35 (bug 1264199) 2016-04-18 14:22:00 +02:00
Jean-Yves Avenard 10edfa5450 Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
MozReview-Commit-ID: KqcB0FYxNtC
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard 2b6e219fbe Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
MozReview-Commit-ID: 4sCvNWKEMZS
2016-04-13 19:50:54 +10:00
Jean-Yves Avenard e6347c68e5 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
2016-04-12 12:16:38 +10:00
Jean-Yves Avenard 506a4c78d5 Bug 1262753: P4. Add resampling capabilities to AudioConverter. r=kinetik
MozReview-Commit-ID: 93PNC5ooEPg
2016-04-11 21:07:11 +10:00
Jean-Yves Avenard d8fa192390 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
2016-04-08 17:32:57 +10:00
Jean-Yves Avenard 3c348b4649 Bug 1248861: P9. Use ChannelLayout::MappingTable. r=gerald
MozReview-Commit-ID: 63584qWSKrs
2016-04-07 15:26:20 +10:00
Jean-Yves Avenard 5643ee550f 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
2016-04-04 18:22:05 +10:00