Chromium Code Reviews| Index: media/audio/audio_manager_base.h |
| diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h |
| index c12b0103caf53cd39f73a6e16f516aaad0e05f3a..9cd6bff852ff400bd9194c696ce10fe959eb3a66 100644 |
| --- a/media/audio/audio_manager_base.h |
| +++ b/media/audio/audio_manager_base.h |
| @@ -7,6 +7,7 @@ |
| #include <map> |
| #include <string> |
| +#include <utility> |
| #include "base/atomic_ref_count.h" |
| #include "base/compiler_specific.h" |
| @@ -122,8 +123,8 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager { |
| // TODO(dalecurtis): This must change to map both input and output parameters |
| // to a single dispatcher, otherwise on a device state change we'll just get |
| // the exact same invalid dispatcher. |
| - typedef std::map<AudioParameters, scoped_refptr<AudioOutputDispatcher>, |
| - AudioParameters::Compare> |
| + typedef std::map< std::pair<AudioParameters, AudioParameters>, |
|
scherkus (not reviewing)
2012/10/22 23:51:05
nit: we usually don't have the space after the ope
DaleCurtis
2012/10/23 01:49:42
Done.
|
| + scoped_refptr<AudioOutputDispatcher> > |
| AudioOutputDispatchersMap; |
| // Shuts down the audio thread and releases all the audio output dispatchers |