fixup! [M120 Migration] Notify media device state to webbrowser 94/307794/2
authorzhishun.zhou <zhishun.zhou@samsung.com>
Wed, 13 Mar 2024 06:23:51 +0000 (14:23 +0800)
committerYanqing Lu <yanqing.lu@samsung.com>
Wed, 13 Mar 2024 07:08:14 +0000 (07:08 +0000)
Fix build error with flag "--build-chrome":
gen/media/mojo/mojom/audio_input_stream.mojom.h:151:16: note: unimplemented pure virtual method 'OnMediaStateChanged' in 'CapturedAudioInput'
[  340s]   151 |   virtual void OnMediaStateChanged(uint32_t previous, uint32_t current) = 0;

Change-Id: I2dcf7941f1f40e3ccd230a73bff10c030b1b3850
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
components/mirroring/service/captured_audio_input.h

index 25105be..a3be441 100644 (file)
@@ -57,6 +57,9 @@ class COMPONENT_EXPORT(MIRRORING_SERVICE) CapturedAudioInput final
   // media::mojom::AudioInputStreamClient implementation.
   void OnError(media::mojom::InputStreamErrorCode code) override;
   void OnMutedStateChanged(bool is_muted) override;
+#if BUILDFLAG(IS_TIZEN_TV)
+  void OnMediaStateChanged(uint32_t previous, uint32_t current) override {}
+#endif
 
   SEQUENCE_CHECKER(sequence_checker_);