# audiotrack_player **Repository Path**: drawfeel/audiotrack_player ## Basic Information - **Project Name**: audiotrack_player - **Description**: A wav file player with AudioTrack interface. It support setting difference usage/channel_mask/bit_format for a particular .wav file. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-06 - **Last Updated**: 2025-01-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # audiotrack-player a multi-channel wave player to debug audioflinger or audiohal ## 1, What is the repository used for This repository is used to setting different channel_mask / bit_format / usage / content_type to debug audio hal ## 2, How to build this repository In android root directory:
``` source build/envsetup.sh lunch msmnile_gvmq-userdebug mkdir vendor/bbb cd vendor/bbb git clone https://gitee.com/drawfeel/audiotrack_player.git cd - mmm vendor/audiotrack_player ``` then artifactories below will be generated. ``` out/target/product/msmnile_gvmq/system/app/BoseAudioPlayer/BAudioPlayer.apk out/target/product/msmnile_gvmq/system/lib/libaudioplayernativelib.so out/target/product/msmnile_gvmq/system/lib64/libaudioplayernativelib.so ``` ## 3, How to use 3.1 install the artifactories ``` adb root adb remount adb push $(FILE_DIR)\lib\libaudioplayernativelib.so /system/lib adb push $(FILE_DIR)\lib64\libaudioplayernativelib.so /system/lib64 adb install -r BAudioPlayer.apk ``` 3.2 modify public.libraries.txt ``` adb pull /system/etc/public.libraries.txt ``` add a line in the public.libraries.txt ``` libaudioplayernativelib.so ``` push the file back to device ``` adb root adb remount adb push public.libraries.txt /system/etc ``` 3.3 launch the application Audio Player