lp:~lihow731/plainbox-provider-checkbox/+git/plainbox-provider-checkbox

Owned by Leon Liao
Get this repository:
git clone https://git.launchpad.net/~lihow731/plainbox-provider-checkbox/+git/plainbox-provider-checkbox
Only Leon Liao can upload to this repository. If you are Leon Liao please log in for upload directions.

Branches

Name Last Modified Last Commit
gateway_ping_test_re 2020-12-15 05:40:15 UTC
gateway_ping_test.py: improve the regular expression of ping result

Author: Leon Liao
Author Date: 2020-11-25 08:50:06 UTC

gateway_ping_test.py: improve the regular expression of ping result

Case 1, the packet lost is a float:
6 packets transmitted, 5 received, 16.6667% packet loss, time 5030ms

Case 2, there is more information "duplicates":
5 packets transmitted, 5 received, +1 duplicates, 0% packet loss, time 4023ms

For above two cases, the new regular expression will filter the value of the received couter.

LP: 1905532

master 2020-10-12 07:29:35 UTC
bin/audio_test.py: Fix the "Unable to control recording volume..." bug

Author: Leon Liao
Author Date: 2020-07-23 07:03:46 UTC

bin/audio_test.py: Fix the "Unable to control recording volume..." bug

Fix:
1. Remove the method parameter from PAVolumeController.__init__():
 Assum PAVolumeController class only be used in this audio_test.py.
2. Don't check the return value of self.method(command):
 In PAVolumeController._pactl_output(), when failed to execute the pactl command the exception will be thrown.
3. When pactl command fail (after retry 3 times), let audio_test stop.

Original issue:
In PAVolumeController class:
In set_volume() and mute(), the self.method(command) returns a zero-length string.
So, the set_volume() and mute() always return False. Then, in get_volume(), the self._volume always won't be set.
This is the root cause of the "Unable to control recording volume..."
issue.

More detail:
1. There is no ouptu from the `pactl set-souerce-volume ...` command.
2. The PAVolumeController._pactl_output fucntion will return
subprocess.check_output(). The subprocess.check_output function return the output of "command".

LP: #1890526

12 of 2 results
This repository contains Public information 
Everyone can see this information.

Subscribers