aoa-audio icon indicating copy to clipboard operation
aoa-audio copied to clipboard

The sound cannot be played

Open xiaozhi1995 opened this issue 7 years ago • 7 comments

hello,Follow the steps written,the phone's sound cannot be played and data cannot be saved.

xiaozhi1995 avatar Oct 12 '18 06:10 xiaozhi1995

Which OS on the computer? Which device? Which Android version? Which kernel version on the device? Are there any error in the output of the commands, or in adb logcat?

rom1v avatar Oct 12 '18 06:10 rom1v

linux,device is HUAWEI MT7-TL10,android version: 4.4.2 ,kernel version is 3.10.30-00015-g048f android@localhost #1 Wed Aug 5 18:28:48 CST 2015, the adb logcat no error,what oao-audio command of device?Please leave a contact information and would like to send a picture

xiaozhi1995 avatar Oct 12 '18 06:10 xiaozhi1995

Do you have a playout picture there?and devices info

xiaozhi1995 avatar Oct 12 '18 06:10 xiaozhi1995

what oao-audio command

The ones described in the README. For example, what happens when you execute:

./audio XXXX YYYY 1

and:

pactl list short sources

?

rom1v avatar Oct 12 '18 07:10 rom1v

./audio 18d1 2d03 1

Device 18d1:2d03 found. Opening...
Setting audio mode: 1
SUCCESS
$ pactl list short sources
0	alsa_output.pci-0000_00_1b.0.analog-stereo.monitor	module-alsa-card.c	s16le 2ch 44100Hz	SUSPENDED
1	alsa_input.pci-0000_00_1b.0.analog-stereo	module-alsa-card.c	s16le 2ch 48000Hz	SUSPENDED
10	alsa_input.usb-SAMSUNG_SAMSUNG_Android_5673c096-00.analog-stereo	module-alsa-card.c	s16le 2ch 44100Hz	RUNNING
11	alsa_input.usb-HUAWEI_HUAWEI_Y9KGK16502905517-00.analog-stereo	module-alsa-card.c	s16le 2ch 44100Hz	RUNNING

but,ffplay no result:

 nan    :  0.000 fd=  0 aq=       0kb   vq= 0kb sq=0B f=0/0

the computer no sound,which ffplay version? I try use ffplay play a MP3 file,it can work。 Input #0, mp3, from 'xy.mp3': Duration: 00:00:34.09, start: 0.000000, bitrate: 191 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s 14.17 M-A: 0.000 fd= 0 aq= 26KB vq= 0KB sq= 0B f=0/0

How I search error?thankyou

xiaozhi1995 avatar Oct 15 '18 07:10 xiaozhi1995

I changed a Google phone and the sound was ready for transmission. Input #0, pulse, from 'alsa_input.usb-HUAWEI_HUAWEI_Y9KGK16502905517-00.analog-stereo': Duration: N/A, start: 1539591322.078341, bitrate: 1536 kb/s Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s

very thanks.,Maybe different phone api has changed.

xiaozhi1995 avatar Oct 15 '18 08:10 xiaozhi1995

Please help me how to forward aoa-audio on windows 10 step by step tq

2ulkifli avatar Mar 04 '19 12:03 2ulkifli