OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_MEDIA_FRAMEWORK_PARTS_LPCM_REFORMATTER_H_ |
| 6 #define SERVICES_MEDIA_FRAMEWORK_PARTS_LPCM_REFORMATTER_H_ |
| 7 |
| 8 #include "services/media/framework/models/lpcm_transform.h" |
| 9 #include "services/media/framework/stream_type.h" |
| 10 |
| 11 namespace mojo { |
| 12 namespace media { |
| 13 |
| 14 class LpcmReformatter; |
| 15 |
| 16 typedef SharedPtr<LpcmReformatter, LpcmTransform> LpcmReformatterPtr; |
| 17 |
| 18 // A transform that reformats samples. |
| 19 // TODO(dalesat): Some variations on this could be InPlacePacketTransforms. |
| 20 class LpcmReformatter : public LpcmTransform { |
| 21 public: |
| 22 static LpcmReformatterPtr Create( |
| 23 const LpcmStreamType& in_type, |
| 24 const LpcmStreamTypeSet& out_type); |
| 25 }; |
| 26 |
| 27 } // namespace media |
| 28 } // namespace mojo |
| 29 |
| 30 #endif // SERVICES_MEDIA_FRAMEWORK_PARTS_LPCM_REFORMATTER_H_ |
OLD | NEW |