| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ | 5 #ifndef MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ |
| 6 #define MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ | 6 #define MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ |
| 7 | 7 |
| 8 #include <cras_client.h> | 8 #include <cras_client.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 // True if the stream has been started. | 92 // True if the stream has been started. |
| 93 bool started_; | 93 bool started_; |
| 94 | 94 |
| 95 // ID of the playing stream. | 95 // ID of the playing stream. |
| 96 cras_stream_id_t stream_id_; | 96 cras_stream_id_t stream_id_; |
| 97 | 97 |
| 98 // Direction of the stream. | 98 // Direction of the stream. |
| 99 const CRAS_STREAM_DIRECTION stream_direction_; | 99 const CRAS_STREAM_DIRECTION stream_direction_; |
| 100 | 100 |
| 101 scoped_ptr<AudioBus> audio_bus_; | |
| 102 | |
| 103 DISALLOW_COPY_AND_ASSIGN(CrasInputStream); | 101 DISALLOW_COPY_AND_ASSIGN(CrasInputStream); |
| 104 }; | 102 }; |
| 105 | 103 |
| 106 } // namespace media | 104 } // namespace media |
| 107 | 105 |
| 108 #endif // MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ | 106 #endif // MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ |
| OLD | NEW |