Skip to content

Commit

Permalink
Update src/reachy_v2_sdk/audio.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Le Goff <[email protected]>
  • Loading branch information
glannuzel and simheo authored Nov 6, 2023
1 parent 14c8c52 commit 3a974b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reachy_v2_sdk/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3a974b4

Please sign in to comment.