Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,17 @@ def testFunction(self):
# Stop the stream playback
self.testPlayer.stop()

time.sleep(3)
self.testdsAudio.disablePort(port, index)

time.sleep(3)

Comment on lines +122 to +124
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 122 uses tab characters for indentation instead of spaces. Python PEP 8 requires spaces for indentation. Replace the tab with appropriate spaces to maintain consistent indentation.

Suggested change
time.sleep(3)
# (blank line preserved, now with spaces)
time.sleep(3)

Copilot uses AI. Check for mistakes.
Comment on lines +122 to +124
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 124 uses tab characters for indentation instead of spaces. Python PEP 8 requires spaces for indentation. Replace the tab with appropriate spaces to maintain consistent indentation.

Suggested change
time.sleep(3)
time.sleep(3)

Copilot uses AI. Check for mistakes.
for port,index in self.testdsAudio.getSupportedPorts():
# Enable the audio port
self.testdsAudio.enablePort(port, index)

for i, stream in enumerate(self.testStreams):

self.testdsAudio.enableAssociateAudioMixig(port, index, False)

# Start the stream playback
self.testPlayer.play(stream)
Expand All @@ -140,7 +150,6 @@ def testFunction(self):

# Terminate dsAudio Module
self.testdsAudio.terminate()

return True

if __name__ == '__main__':
Expand Down