diff --git a/pyperdeck/__init__.py b/pyperdeck/__init__.py index ead3878..03bc0c0 100644 --- a/pyperdeck/__init__.py +++ b/pyperdeck/__init__.py @@ -661,8 +661,9 @@ def configure( file_format: str = None, audio_codec: str = None, play_option: str = None, + audio_input_channels: int = None, ) -> None: - """Change the configuration of the Hyperdeck. Timecode, audio channels, record triggers, file naming, and genlock settings are unimplemented. + """Change the configuration of the Hyperdeck. Timecode, record triggers, file naming, and genlock settings are unimplemented. Parameters ---------- @@ -674,6 +675,8 @@ def configure( Recording file format/codec configuration for future recordings, by default unchanged audio_codec : str, optional Recording codec of the audio signal for future recordings, by default unchanged + audio input channels : int, optional + Number of audio channels to record, valid values are 2 4 8 16, by default unchanged play_option : str Sets the output frame when playback stops (one of lastframe, nextframe, or black), by default unchanged """ @@ -686,6 +689,8 @@ def configure( command += f'file format: {file_format} ' if audio_codec: command += f'audio codec: {audio_codec} ' + if audio_input_channels: + command += f'audio input channels: {audio_input_channels} ' if command != 'configuration: ': self._send(command[:-1]) @@ -712,4 +717,4 @@ def reboot(self) -> None: """Reboot the Hyperdeck, reconnection happens automatically. """ self._send('reboot') - \ No newline at end of file +