Fix playback rate w/o audio. Remove unused SetPlaybackRate().
NullAudioSink doesn't need to worry about playback rate since AudioRendererAlgorithm already compresses/expands the data as necessary. The issue is easily seen by playing any of the sync clips and timing how fast it takes for each rotation of the "clock" in the video. Setting playback rate to 2 will actually end up being 4x as fast currently. As a bonus, dropping this allows us to remove the now unused AudioRendererSink::SetPlaybackRate() method. BUG=none (?) TEST=Play sync clip, time "clock" rotation at various speeds. Review URL: https://chromiumcodereview.appspot.com/10837032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149452 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment