Index: services/media/audio/platform/generic/mixers/point_sampler.h |
diff --git a/services/media/audio/platform/generic/mixers/point_sampler.h b/services/media/audio/platform/generic/mixers/point_sampler.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01f11908636453ae09ffaee0b9b2b2c9af87eaf2 |
--- /dev/null |
+++ b/services/media/audio/platform/generic/mixers/point_sampler.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SERVICES_MEDIA_AUDIO_PLATFORM_GENERIC_MIXERS_POINT_SAMPLER_H_ |
+#define SERVICES_MEDIA_AUDIO_PLATFORM_GENERIC_MIXERS_POINT_SAMPLER_H_ |
+ |
+#include "mojo/services/media/common/interfaces/media_types.mojom.h" |
+#include "services/media/audio/platform/generic/mixer.h" |
+ |
+namespace mojo { |
+namespace media { |
+namespace audio { |
+namespace mixers { |
+ |
+class PointSampler : public Mixer { |
+ public: |
+ static MixerPtr Select(const LpcmMediaTypeDetailsPtr& src_format, |
+ const LpcmMediaTypeDetailsPtr& dst_format); |
+}; |
+ |
+} // namespace mixers |
+} // namespace audio |
+} // namespace media |
+} // namespace mojo |
+ |
+#endif // SERVICES_MEDIA_AUDIO_PLATFORM_GENERIC_MIXERS_POINT_SAMPLER_H_ |