Skip to main content

This is a auto-testing framework of audio functions for Android devices.

Project description

AudioAutoTest

Description

This is a auto-testing framework of audio functions for Android devices.

  • For checking the detailed information of APIs, please refer to the documentation

Release Note

v1.5

v1.5

  • Update audioworker.apk
  • AudioWorker supports concurrent capture
  • PyAAT supports concurrent capture control on AudioWorker
  • Some coding style reformation on audioworker.py
  • Add test scripts to verify the compatibility between AudioWorker and PyAAT
    • Playback
    • Record

v1.4

v1.4.3

  • Update audioworker.apk

v1.4.2

  • AudioWorker supports different input sources, APIs, and performance modes

v1.4.1 (Deleted)

  • fix crashes in Adb.safe_clean_non_default_sockets()

v1.4.0 (Deleted)

  • support using an independent socket to manage wifi adb devices
  • keep the identical behavior when the adb multi-socket listening is disabled

v1.3

v1.3.6

  • pyaatlibs: adb: fix line length
  • pyaatlibs: adbutils: use "cmd wifi status" instead of "ip addr show wlan0" to check wifi status
  • pyaatlibs: adbutils: suppress logs if tolog is false

v1.3.5 (Deleted)

  • support using an independent socket to manage wifi adb devices

v1.3.4

  • update audioworker.apk: configurable input source for recording

v1.3.3

  • add API to get the IP addr used by Wifi adb.

v1.3.2

  • fix the logic of whether it's feasible to use wifi adb

v1.3.1

  • add delay between "adb tcpip" and "adb connect"

v1.3.0

  • support wifi adb

v1.2

v1.2.12

  • fix the memory leakage of repeatedly initialization with the same name.

v1.2.11

  • store the running threads instead of directly using the iterator to avoid exceptions.

v1.2.10

  • make logger always print messages with default settings.

v1.2.8

  • fix granting permissions for Android apps.

v1.2.7

  • update audioworker to solve recording underrun.

v1.2.5

  • simplify AudioWorkerApp.voip_tx_dump

v1.2.1

  • change log tag with verbosity level of pyaat.logger
  • correct README

v1.2.0

  • add verbosity level control of pyaatlibs.logger
  • add wait_for_device API of pyaatlibs.adbutils

Installation

Requirements

  • pip
  • Python 3.7+
  • virtualenv

Create a virtual environment

{WORK_DIR}$ mkdir venv
{WORK_DIR}$ virtualenv -p python3 venv/py3
Running virtualenv with interpreter /usr/bin/python3
New python executable in {WORK_DIR}/venv/py3/bin/python
Also creating executable in {WORK_DIR}/venv/py3/bin/python
Installing setuptools, pip, wheel...done.
{WORK_DIR}$ source venv/py3/bin/activate
(py3) {WORK_DIR}$

The dependencies should be installed with a command

(py3) {WORK_DIR}$ pip install -r requirements-py3.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_audio_autotest-1.5-py3-none-any.whl (26.3 MB view details)

Uploaded Python 3

File details

Details for the file python_audio_autotest-1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for python_audio_autotest-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 24bc5f469d1676cdd0ef421ccfda9c10bcbecbb78aac5df07b5d83307ba1d2c4
MD5 c1ddce210f567b4972bc65d79ac061d7
BLAKE2b-256 ef256e74b64f46a8606e02765ff26fb088277a473266af9023ec7d80569308b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page