Can I know, is this code was already disabled in the driver?. This could be the reason behind dapm not closing. Can you try enabling this piece of code?.
yes, they give me the codec source that those code were disabled, let me try tomorrow morning, and i found that if i play the music by ubuntu system default application, it play very fast, i mean the test.wav has 30 second duration ,but it played in 1 second then finish.
Hi,
If it shows device or resource busy then it means some process has opened the pcm device, mostly by ubuntu as same issue not seen with playing on it. can you check with “cat /proc/asound/card1/pcm0p/sub0/hw_params”
If audio player on ubuntu plays exactly for the audio file duration then DAPM completed and data started to flow. No audio could be some other issue. you can verify this by having prints in hw_params function in codec to confirm this.
Hi
I believe we need to get some help from codec vendor on the driver on DAPM path closing. Can you try contacting them on this. Please check if this driver works fine and required DAPM path configs.
hi, mkumard, sorry for reply late, could you help me to check the MCLK, SCLK and LRCK. at beginning , i set it as salve mode, now i change it as master mode ,
the PAE of Codec vonder share those two files, in first file,shows the pin config,
PIN NAME I/O DESCRIPTION
1 MCLK I Master clock
2 DVDD Supply Digital core supply
3 PVDD Supply Digital IO supply
4 DGND Supply Digital ground (return path for both DVDD and PVDD)
5 SCLK I/O Audio data bit clock
6 DSDIN I DAC audio data
7 LRCK I/O Audio data left and right clock
8 ASDOUT O ADC audio data
9 NC 10 VREF O Decoupling capacitor
11 ROUT1 O Right output 1 (line or speaker/headphone)
12 LOUT1 O Left output 1 (line or speaker/headphone)
13 HPGND Supply Ground for analog output drivers (LOUT1/2, ROUT1/2)
14 ROUT2 O Right output 2 (line or speaker/headphone)
15 LOUT2 O Left output 2 (line or speaker/headphone)
16 HPVDD Supply Supply for analog output drivers (LOUT1/2, ROUT1/2)
17 AVDD Supply Analog supply
18 AGND Supply Analog ground
19 ADCVREF O Decoupling capacitor
20 VMID O Decoupling capacitor
21 RIN2 AI Right channel input 2
22 LIN2 I Left channel input 2
23 RIN1 I Right channel input 1
24 LIN1 I Left channel input 1
25 NC 26 CE I Control select or device address selection
27 CDATA I/O Control data input or output
28 CCLK I Control clock input
it seems only have LOUT1,ROUT1,LOUT2,ROUT2 as output.
Hi,
I would like to understand, whether the DAPM issue seen earlier was resolved now?. Also what is the current status of the audio playback on codec speaker?.