Home
last modified time | relevance | path

Searched refs:AudioStreamHandler (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/media/audio/sounds/
Daudio_stream_handler.cc25 AudioStreamHandler::TestObserver* g_observer_for_testing = NULL;
30 class AudioStreamHandler::AudioStreamContainer
122 AudioStreamHandler::AudioStreamHandler(const base::StringPiece& wav_data) in AudioStreamHandler() function in media::AudioStreamHandler
143 AudioStreamHandler::~AudioStreamHandler() { in ~AudioStreamHandler()
152 bool AudioStreamHandler::IsInitialized() const { in IsInitialized()
157 bool AudioStreamHandler::Play() { in Play()
170 void AudioStreamHandler::Stop() { in Stop()
178 void AudioStreamHandler::SetObserverForTesting(TestObserver* observer) { in SetObserverForTesting()
183 void AudioStreamHandler::SetAudioSourceForTesting( in SetAudioSourceForTesting()
Daudio_stream_handler_unittest.cc31 audio_stream_handler_.reset(new AudioStreamHandler(data)); in SetUp()
39 AudioStreamHandler* audio_stream_handler() { in audio_stream_handler()
43 void SetObserverForTesting(AudioStreamHandler::TestObserver* observer) { in SetObserverForTesting()
44 AudioStreamHandler::SetObserverForTesting(observer); in SetObserverForTesting()
49 AudioStreamHandler::SetAudioSourceForTesting(source); in SetAudioSourceForTesting()
54 scoped_ptr<AudioStreamHandler> audio_stream_handler_;
90 base::Bind(base::IgnoreResult(&AudioStreamHandler::Play), in TEST_F()
95 base::Bind(&AudioStreamHandler::Stop, in TEST_F()
Daudio_stream_handler.h22 class MEDIA_EXPORT AudioStreamHandler : public base::NonThreadSafe {
39 explicit AudioStreamHandler(const base::StringPiece& wav_data);
40 virtual ~AudioStreamHandler();
71 DISALLOW_COPY_AND_ASSIGN(AudioStreamHandler);
Dsounds_manager.cc37 base::hash_map<SoundKey, linked_ptr<AudioStreamHandler> > handlers_;
52 linked_ptr<AudioStreamHandler> handler(new AudioStreamHandler(data)); in Initialize()
Dsounds_manager_unittest.cc36 void SetObserverForTesting(AudioStreamHandler::TestObserver* observer) { in SetObserverForTesting()
37 AudioStreamHandler::SetObserverForTesting(observer); in SetObserverForTesting()
Dtest_data.h25 class TestObserver : public AudioStreamHandler::TestObserver {