python-audio-autotest-3.10 1.5.11rc2__py3-none-any.whl → 1.5.12rc0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyaatlibs/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  import os
2
2
  import platform
3
3
 
4
- __version__ = "1.5.11rc2"
4
+ __version__ = "1.5.12"
5
5
  __author__ = "Hao-Wei Lee"
6
6
  if platform.system() == "Windows":
7
7
  SEP = "\\"
Binary file
pyaatlibs/audioworker.py CHANGED
@@ -102,7 +102,7 @@ class AudioWorkerApp(AppInterface):
102
102
 
103
103
  @staticmethod
104
104
  def get_apk_version():
105
- return "bc49bba-python-audio-autotest-v1.5.11"
105
+ return "eb3a3d5-python-audio-autotest-v1.5.12"
106
106
 
107
107
  @staticmethod
108
108
  def get_version_from_device(serialno=None):
@@ -217,7 +217,8 @@ class AudioWorkerApp(AppInterface):
217
217
 
218
218
  @staticmethod
219
219
  def playback_offload(
220
- device=None, serialno=None, file="null",
220
+ device=None, serialno=None, file="null", stream_type=PlaybackStream.MUSIC,
221
+ content_type=PlaybackContentType.MUSIC, usage=PlaybackUsage.MEDIA,
221
222
  freqs=[440.], playback_id=0, fs=16000, nch=2, amp=0.6, bit_depth=16):
222
223
  name = __class__.AUDIOWORKER_INTENT_PREFIX + "playback.start"
223
224
  configs = {
@@ -228,7 +229,10 @@ class AudioWorkerApp(AppInterface):
228
229
  "num-channels": nch,
229
230
  "amplitude": amp,
230
231
  "pcm-bit-width": bit_depth,
231
- "file": file
232
+ "file": file,
233
+ "stream-type": stream_type,
234
+ "usage": usage,
235
+ "content-type": content_type,
232
236
  }
233
237
  __class__.send_intent(device, serialno, name, configs)
234
238
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-audio-autotest-3.10
3
- Version: 1.5.11rc2
3
+ Version: 1.5.12rc0
4
4
  Summary: This is a auto-testing framework of audio functions for Android devices.
5
5
  Home-page: https://github.com/HW-Lee/AudioAutoTest
6
6
  Author: Hao-Wei Lee
@@ -35,6 +35,10 @@ This is a auto-testing framework of audio functions for Android devices.
35
35
 
36
36
  ## Release Note
37
37
  ### v1.5
38
+ ### v1.5.11
39
+ - Update audioworker.apk (bc49bba-python-audio-autotest-v1.5.11)
40
+ - audioworker: playback: support content_type, usage, and performance_mode
41
+
38
42
  ### v1.5.10
39
43
  - Fix Adb.get_devices() in case when adb didn't work well by retrying.
40
44
 
@@ -1,4 +1,4 @@
1
- pyaatlibs/__init__.py,sha256=b5pbLskL3-9-RxhHEHjy4SmVPsSTOydNszy7ihzwm9E,355
1
+ pyaatlibs/__init__.py,sha256=KXjpZyGHJ948iqezd1rk8qRX9yKom6uQEGHxjhK2vpg,352
2
2
  pyaatlibs/aatapp.py,sha256=2oTnHnTCd4oIk_Nb218S3rO6nQfujxfVOLbQM1jeAhA,8742
3
3
  pyaatlibs/activitystatemachine.py,sha256=We5noxBtskgMUsdBOA34e8Rze8K-vuheuSBjL4RUo8Q,300
4
4
  pyaatlibs/adbutils.py,sha256=pQ0mQep_JN9NthSn5LWEd8G36ng6tpSKQSBGst52DQY,15741
@@ -7,7 +7,7 @@ pyaatlibs/argutils.py,sha256=6jOccgQlftmhUEGc3dAZ9-j0Mdg45jrhAGE-CylYjno,451
7
7
  pyaatlibs/audiofunction.py,sha256=7Lm_-dG88mK8ETRmu--vIyzXMPVPFiUbdwJmB4PQn9g,9640
8
8
  pyaatlibs/audiosignalframelogger.py,sha256=K0byfkpPAoMNNl6YdyoSGSgWbYPK1m0cLpQIPkeQlto,1446
9
9
  pyaatlibs/audiothread.py,sha256=GOEHPFtEK-P8SQNdgWeDxnHcs_vic2kTN68UCjWUiLM,6548
10
- pyaatlibs/audioworker.py,sha256=nSJTlaleUhMl-KRPazH1JCTBVLvVycmBjWAcWnApyjY,28322
10
+ pyaatlibs/audioworker.py,sha256=j8lqSMwa5s02YJk5bYYN9rqZOWfZrKSRHMcuL3LhLww,28542
11
11
  pyaatlibs/logcatlistener.py,sha256=0Dz5wM1qOsxn-KcHspD2nCJnVu5g7rzbk5ycEDvxG08,6213
12
12
  pyaatlibs/logger.py,sha256=13Kx86hzFTbynWG5hKrWiCsT8gYk0-6ER98aOLiMJfY,5224
13
13
  pyaatlibs/signalanalyzer.py,sha256=F1TiLAqqSHLpm4KgslRgu7hjj4iRX1qyCZMDI21oxls,306
@@ -15,11 +15,11 @@ pyaatlibs/signalmatcher.py,sha256=6A4mLf6GLbQzdM0wFbHqDfyWvgpZRci90kaOrLeV8B0,18
15
15
  pyaatlibs/timeutils.py,sha256=yEgZGcHf_ASyXr0Mcef0toEa4zXX4j3FyQayaF1sN8I,2613
16
16
  pyaatlibs/trials.py,sha256=hSYIvR1vsEqfu20eLDeh3oDCCTWvHQcvS6LKfScLB30,2469
17
17
  pyaatlibs/apk/audiofunctionsdemo.apk,sha256=GG06POXrPOphMNsm5pD4XPfzVF8FXQ1ruupJFO2V8iQ,3205247
18
- pyaatlibs/apk/audioworker.apk,sha256=TJSRC3RVzu4tfTvC6nvMzBXV7hJXYFvt1zCtkMbFIYw,28933325
18
+ pyaatlibs/apk/audioworker.apk,sha256=ZqR6mafHinWwFJ92I6RLlWbQOPxagqY_F5ClOilfSLk,28900068
19
19
  pyaatlibs/tests/audioworker_test.py,sha256=oKwi7TGh3apYG1SJlTYWTbCazJZya7wOCtYiytQvea8,20977
20
20
  pyaatlibs/tests/conftest.py,sha256=Ng_ClpNsY-62bo8O0zCl702jy9AcwdteakJ1vhlOCTk,293
21
- python_audio_autotest_3_10-1.5.11rc2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
- python_audio_autotest_3_10-1.5.11rc2.dist-info/METADATA,sha256=2vAM2T3j-fqtqf7fpGfBOn6ZTpEcnr4561RTAFnqpEg,5089
23
- python_audio_autotest_3_10-1.5.11rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
- python_audio_autotest_3_10-1.5.11rc2.dist-info/top_level.txt,sha256=MyCr1MMMQB2sjxyhlZSJPG4Fx10ya00APmhY7r1fSoQ,10
25
- python_audio_autotest_3_10-1.5.11rc2.dist-info/RECORD,,
21
+ python_audio_autotest_3_10-1.5.12rc0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
+ python_audio_autotest_3_10-1.5.12rc0.dist-info/METADATA,sha256=BiLPjeFNs_ubtvgI_3SMXSGoPL5WuzWL3vLLz_qZk2c,5242
23
+ python_audio_autotest_3_10-1.5.12rc0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ python_audio_autotest_3_10-1.5.12rc0.dist-info/top_level.txt,sha256=MyCr1MMMQB2sjxyhlZSJPG4Fx10ya00APmhY7r1fSoQ,10
25
+ python_audio_autotest_3_10-1.5.12rc0.dist-info/RECORD,,