Files
platform-external-webrtc/webrtc/modules/audio_device/test
wu@webrtc.org 94454b71ad Fix the chain that propagates the audio frame's rtp and ntp timestamp including:
* In AudioCodingModuleImpl::PlayoutData10Ms, don't reset the timestamp got from GetAudio.
* When there're more than one participant, set AudioFrame's RTP timestamp to 0.
* Copy ntp_time_ms_ in AudioFrame::CopyFrom method.
* In RemixAndResample, pass src frame's timestamp_ and ntp_time_ms_ to the dst frame.
* Fix how |elapsed_time_ms| is computed in channel.cc by adding GetPlayoutFrequency.

Tweaks on ntp_time_ms_:
* Init ntp_time_ms_ to -1 in AudioFrame ctor.
* When there're more than one participant, set AudioFrame's ntp_time_ms_ to an invalid value. I.e. we don't support ntp_time_ms_ in multiple participants case before the mixing is moved to chrome.

Added elapsed_time_ms to AudioFrame and pass it to chrome, where we don't have the information about the rtp timestmp's sample rate, i.e. can't convert rtp timestamp to ms.

BUG=3111
R=henrik.lundin@webrtc.org, turaj@webrtc.org, xians@webrtc.org
TBR=andrew
andrew to take another look on audio_conference_mixer_impl.cc

Review URL: https://webrtc-codereview.appspot.com/14559004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6346 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-05 20:34:08 +00:00
..
2012-10-22 18:19:23 +00:00

INSTRUCTIONS:

- Start with test #3 (Device enumeration) to get an overview of the available
  audio devices.
- Next, proceed with test #4 (Device selection) to get more details about 
  the supported functions for each audio device.
- Verify two-way audio in test #5. 
  Repeat this test for different selections of playout and recording devices.
- More detailed tests (volume, mute etc.) can also be performed using #6-#11.

NOTE:

- Some tests requires that the user opens up the audio mixer dialog and 
  verifies that a certain action (e.g. Mute ON/OFF) is executed correctly.
- Files can be recorded during some tests to enable off-line analysis.
- Full support of 'Default Communication' devices requires Windows 7.
- If a test consists of several sub tests, press any key to start a new sub test.

KNOWN ISSUES:

- Microphone Boost control is not supported on Windows Vista or Windows 7.
- Speaker and microphone volume controls will not work as intended on Windows
  Vista if a 'Default Communication' device is selected in any direction.