>From what I see, it looks like that the alsa lib is calling multiple time
SNDRV_PCM_IOCTL_SYNC_PTR

And it's not calling SNDRV_PCM_IOCTL_WRITEN_FRAMES  ....

Robert, I'm having issue to find out the version of alsa lib, do you have
any idea ?

Maybe I'm going to compile it

Le lun. 3 août 2015 à 08:58, Micka <[email protected]> a écrit :

> Hi,
>
> Thx to this site :
> http://www.programdevelop.com/4763397/
>
> I understand better the flow of ALSA :)
>
> this is my new log :
>
> [   84.688930] snd_soc_dai_digital_mute 0 0
> [   84.689000] snd_pcm_playback_ioctl
> [   84.689032] snd_pcm_playback_ioctl1 3229892899
> [   84.689057] call snd_pcm_common_ioctl1
> [   84.689084] snd_pcm_common_ioctl1 3229892899
> [   84.689109] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.689624] snd_pcm_playback_ioctl
> [   84.689664] snd_pcm_playback_ioctl1 3228057875
> [   84.689689] call snd_pcm_common_ioctl1
> [   84.689715] snd_pcm_common_ioctl1 3228057875
> [   84.695219] snd_pcm_playback_ioctl
> [   84.695269] snd_pcm_playback_ioctl1 3229892899
> [   84.695296] call snd_pcm_common_ioctl1
> [   84.695322] snd_pcm_common_ioctl1 3229892899
> [   84.695347] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.695400] snd_pcm_playback_ioctl
> [   84.695427] snd_pcm_playback_ioctl1 3229892899
> [   84.695451] call snd_pcm_common_ioctl1
> [   84.695476] snd_pcm_common_ioctl1 3229892899
> [   84.695499] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.696332] snd_pcm_playback_ioctl
> [   84.696364] snd_pcm_playback_ioctl1 3229892899
> [   84.696389] call snd_pcm_common_ioctl1
> [   84.696414] snd_pcm_common_ioctl1 3229892899
> [   84.696438] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.696474] snd_pcm_playback_ioctl
> [   84.696501] snd_pcm_playback_ioctl1 3229892899
> [   84.696524] call snd_pcm_common_ioctl1
> [   84.696548] snd_pcm_common_ioctl1 3229892899
> [   84.696572] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729249] snd_pcm_playback_ioctl
> [   84.729289] snd_pcm_playback_ioctl1 3229892899
> [   84.729303] call snd_pcm_common_ioctl1
> [   84.729317] snd_pcm_common_ioctl1 3229892899
> [   84.729329] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729355] snd_pcm_playback_ioctl
> [   84.729368] snd_pcm_playback_ioctl1 3229892899
> [   84.729378] call snd_pcm_common_ioctl1
> [   84.729390] snd_pcm_common_ioctl1 3229892899
> [   84.729401] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729787] snd_pcm_playback_ioctl
> [   84.729801] snd_pcm_playback_ioctl1 3229892899
> [   84.729812] call snd_pcm_common_ioctl1
> [   84.729824] snd_pcm_common_ioctl1 3229892899
> [   84.729835] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729852] snd_pcm_playback_ioctl
> [   84.729865] snd_pcm_playback_ioctl1 3229892899
> [   84.729875] call snd_pcm_common_ioctl1
> [   84.729887] snd_pcm_common_ioctl1 3229892899
> [   84.729898] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.731902] snd_pcm_playback_ioctl
> [   84.731914] snd_pcm_playback_ioctl1 3229892899
> [   84.731925] call snd_pcm_common_ioctl1
> [   84.731937] snd_pcm_common_ioctl1 3229892899
> [   84.731947] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.731962] snd_pcm_playback_ioctl
> [   84.731974] snd_pcm_playback_ioctl1 3229892899
> [   84.731984] call snd_pcm_common_ioctl1
> [   84.731996] snd_pcm_common_ioctl1 3229892899
> [   84.732007] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.732314] snd_pcm_playback_ioctl
> [   84.732328] snd_pcm_playback_ioctl1 3229892899
> [   84.732338] call snd_pcm_common_ioctl1
> [   84.732350] snd_pcm_common_ioctl1 3229892899
> [   84.732361] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.732375] snd_pcm_playback_ioctl
> [   84.732387] snd_pcm_playback_ioctl1 3229892899
> [   84.732398] call snd_pcm_common_ioctl1
> [   84.732410] snd_pcm_common_ioctl1 3229892899
> [   84.732421] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734421] snd_pcm_playback_ioctl
> [   84.734434] snd_pcm_playback_ioctl1 3229892899
> [   84.734444] call snd_pcm_common_ioctl1
> [   84.734456] snd_pcm_common_ioctl1 3229892899
> [   84.734467] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734481] snd_pcm_playback_ioctl
> [   84.734493] snd_pcm_playback_ioctl1 3229892899
> [   84.734503] call snd_pcm_common_ioctl1
> [   84.734515] snd_pcm_common_ioctl1 3229892899
> [   84.734526] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734826] snd_pcm_playback_ioctl
> [   84.734839] snd_pcm_playback_ioctl1 3229892899
> [   84.734850] call snd_pcm_common_ioctl1
> [   84.734862] snd_pcm_common_ioctl1 3229892899
> [   84.734872] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734887] snd_pcm_playback_ioctl
> [   84.734899] snd_pcm_playback_ioctl1 3229892899
> [   84.734909] call snd_pcm_common_ioctl1
> [   84.734921] snd_pcm_common_ioctl1 3229892899
> [   84.734932] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734974] snd_pcm_playback_ioctl
> [   84.734987] snd_pcm_playback_ioctl1 3229892899
> [   84.734998] call snd_pcm_common_ioctl1
> [   84.735010] snd_pcm_common_ioctl1 3229892899
> [   84.735020] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.735034] snd_pcm_playback_ioctl
> [   84.735046] snd_pcm_playback_ioctl1 16706
> [   84.735057] call snd_pcm_common_ioctl1
> [   84.735068] snd_pcm_common_ioctl1 16706
> [   84.735080] --SNDRV_PCM_IOCTL_START:
> [   84.735096] snd_pcm_do_start
> [   84.735108] soc_pcm_trigger
> [   84.737206] snd_pcm_playback_ioctl
> [   84.737221] snd_pcm_playback_ioctl1 3229892899
> [   84.737232] call snd_pcm_common_ioctl1
> [   84.737244] snd_pcm_common_ioctl1 3229892899
> [   84.737254] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.737280] snd_pcm_playback_ioctl
> [   84.737293] snd_pcm_playback_ioctl1 3229892899
> [   84.737303] call snd_pcm_common_ioctl1
> [   84.737315] snd_pcm_common_ioctl1 3229892899
> [   84.737326] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.747620] snd_pcm_playback_ioctl
> [   84.747647] snd_pcm_playback_ioctl1 3229892899
> [   84.747660] call snd_pcm_common_ioctl1
> [   84.747673] snd_pcm_common_ioctl1 3229892899
> [   84.747685] SNDRV_PCM_IOCTL_SYNC_PTR:
>
> Le ven. 31 juil. 2015 à 14:27, <[email protected]> a écrit :
>
>> Hi Micka
>>
>> > looks like that my config is good ..... But I can't figure out, where
>> i'm blocked ....
>>
>> I am having the same problem with 4.1.0
>>
>> > Do you know who call the function soc_pcm_prepare ?
>>
>> http://lxr.free-electrons.com/source/sound/soc/soc-pcm.c#L698
>>
>> I will try and repeat the same exercise but it will be early next week.
>>
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to