gecko/media/webrtc
Robert O'Callahan 384eb67455 Bug 805254. Part 8: Consolidate audio sample processing code using templates over the format types. r=kinetik
Replace nsAudioStream::Format with an AUDIO_OUTPUT_FORMAT enum value so we
can use it as a template parameter.

Introduce AudioSampleTraits<AudioSampleFormat> to give us access to the C++ type
corresponding to an enum value.

Move SampleToFloat/FloatToSample to AudioSampleFormat.h.

Introduce ConvertAudioSamples and ConvertAudioSamplesWithScale functions
and use them from various places.

Moves AudioDataValue to AudioSampleFormat.h. The name isn't great, but it'll do.
2012-10-25 23:09:40 +13:00
..
signaling Bug 805254. Part 8: Consolidate audio sample processing code using templates over the format types. r=kinetik 2012-10-25 23:09:40 +13:00
trunk Bug 803842: Fix incorrect index for warning length; bullet-proof the code some r=derf 2012-10-24 15:39:55 -04:00
.gclient
.gclient_entries
Makefile.in Bug 792188: rollup of changes to signaling from alder r=jesup,ekr,derf,ehugg,ted 2012-10-07 01:34:29 -04:00
shared_libs.mk Bug 790517: mtransport - Generic media transport subsystem for ICE and DTLS r=jesup,bsmith,mcmanus 2012-10-02 13:04:58 -07:00
webrtc_config.gypi Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf) 2012-10-04 12:09:35 -04:00
webrtc_update.sh Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf) 2012-10-04 12:09:35 -04:00
webrtc_version.h Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf) 2012-10-04 12:09:35 -04:00
webrtc-config.mk Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf) 2012-10-04 12:09:35 -04:00