- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Tue, 27 Mar 2012 16:57:18 +1300
- To: Audio Working Group <public-audio@w3.org>
- Message-ID: <CAOp6jLat4VizcNkPkBxOLKu1OJxvMKL9CdwHcdnPyt526uOMww@mail.gmail.com>
MediaStreams Processing allows each stream to have its own sample rate and automatically resamples inputs to a ProcessedMediaStream as necessary. The sample rate for a ProcessedMediaStream can be set explicitly, otherwise is explicitly set to the sample rate of the first audio data arriving on an input stream. I felt it was important because I wanted authors to be able to select some media sources and hook up some effects to them without knowing in advance what their sample rates are and without having to explicitly detect and set sample rates --- while still not doing unnecessary resampling in the common case that the inputs all have the same sample rate. Rob -- “You have heard that it was said, ‘Love your neighbor and hate your enemy.’ But I tell you, love your enemies and pray for those who persecute you, that you may be children of your Father in heaven. ... If you love those who love you, what reward will you get? Are not even the tax collectors doing that? And if you greet only your own people, what are you doing more than others?" [Matthew 5:43-47]
Received on Tuesday, 27 March 2012 03:57:47 UTC