python-audio-autotest-3.10 1.5.11rc1__py3-none-any.whl → 1.5.11rc3__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.11"
4
+ __version__ = "1.5.11rc3"
5
5
  __author__ = "Hao-Wei Lee"
6
6
  if platform.system() == "Windows":
7
7
  SEP = "\\"
pyaatlibs/audioworker.py CHANGED
@@ -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.11rc1
3
+ Version: 1.5.11rc3
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=tHh_SbmiaDTzSYV_cz6go9lLfO4yzALMSpG_Efu1d60,352
1
+ pyaatlibs/__init__.py,sha256=c97x2Cwj35g7hEeMANaN4f9MLUpkn_EGQSP5UX3ncgw,355
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=3hW4iEj8dHjIqqvfvNwWVmdVALWGfjyTtCYuNTCZvSY,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
@@ -18,8 +18,8 @@ pyaatlibs/apk/audiofunctionsdemo.apk,sha256=GG06POXrPOphMNsm5pD4XPfzVF8FXQ1ruupJ
18
18
  pyaatlibs/apk/audioworker.apk,sha256=TJSRC3RVzu4tfTvC6nvMzBXV7hJXYFvt1zCtkMbFIYw,28933325
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.11rc1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
- python_audio_autotest_3_10-1.5.11rc1.dist-info/METADATA,sha256=V97BAdpnf5G7_luMxAAcbolZVlAqss9bvHJSl_OSNMA,5089
23
- python_audio_autotest_3_10-1.5.11rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
- python_audio_autotest_3_10-1.5.11rc1.dist-info/top_level.txt,sha256=MyCr1MMMQB2sjxyhlZSJPG4Fx10ya00APmhY7r1fSoQ,10
25
- python_audio_autotest_3_10-1.5.11rc1.dist-info/RECORD,,
21
+ python_audio_autotest_3_10-1.5.11rc3.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
+ python_audio_autotest_3_10-1.5.11rc3.dist-info/METADATA,sha256=UOFtjTmaJpS4p-t1bH0TVHDSCo9QWsLcChw0kaexq9k,5242
23
+ python_audio_autotest_3_10-1.5.11rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ python_audio_autotest_3_10-1.5.11rc3.dist-info/top_level.txt,sha256=MyCr1MMMQB2sjxyhlZSJPG4Fx10ya00APmhY7r1fSoQ,10
25
+ python_audio_autotest_3_10-1.5.11rc3.dist-info/RECORD,,