From 3a974b4ce6a7e3b4272c21aeb84b0b5e828f09eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABlle=20Lannuzel?= Date: Mon, 6 Nov 2023 17:13:32 +0100 Subject: [PATCH] Update src/reachy_v2_sdk/audio.py Co-authored-by: Simon Le Goff <32677536+simheo@users.noreply.github.com> --- src/reachy_v2_sdk/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reachy_v2_sdk/audio.py b/src/reachy_v2_sdk/audio.py index 71d5e61b..cea78f40 100644 --- a/src/reachy_v2_sdk/audio.py +++ b/src/reachy_v2_sdk/audio.py @@ -55,7 +55,7 @@ def play(self, sound_name: str, volume: int = 100) -> None: def stop(self) -> None: self._audio_stub.StopSound(ComponentId=self._speaker_id) - def startRecording(self, sound_name: str) -> None: + def start_recording(self, sound_name: str) -> None: self._audio_stub.StartRecording(RecordingRequest(micro=self._microphone_id, recording_id=SoundId(id=sound_name))) def stopRecording(self) -> None: