Searched refs:AudioStreamHandler (Results 1 – 6 of 6) sorted by relevance
25 AudioStreamHandler::TestObserver* g_observer_for_testing = NULL;30 class AudioStreamHandler::AudioStreamContainer122 AudioStreamHandler::AudioStreamHandler(const base::StringPiece& wav_data) in AudioStreamHandler() function in media::AudioStreamHandler143 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()
31 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()
22 class MEDIA_EXPORT AudioStreamHandler : public base::NonThreadSafe {39 explicit AudioStreamHandler(const base::StringPiece& wav_data);40 virtual ~AudioStreamHandler();71 DISALLOW_COPY_AND_ASSIGN(AudioStreamHandler);
37 base::hash_map<SoundKey, linked_ptr<AudioStreamHandler> > handlers_;52 linked_ptr<AudioStreamHandler> handler(new AudioStreamHandler(data)); in Initialize()
36 void SetObserverForTesting(AudioStreamHandler::TestObserver* observer) { in SetObserverForTesting()37 AudioStreamHandler::SetObserverForTesting(observer); in SetObserverForTesting()
25 class TestObserver : public AudioStreamHandler::TestObserver {