[etoys-notify] [JIRA] Commented: (SQ-638) snd_pcm_avail_update()
needs to be called in vm-sound-ALSA
Milan Zimmerman (JIRA)
tracker at squeakland.org
Sun Dec 20 21:30:10 EST 2009
[ http://tracker.squeakland.org/browse/SQ-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39044#action_39044 ]
Milan Zimmerman commented on SQ-638:
------------------------------------
Hi Bert: I see you already discovered this recording problem long time ago. Recording is not a problem on Windows (I tested it today as well), so it seems either Unix VM or XO distribution specific. So maybe we do not need equivalent ticket here...
> snd_pcm_avail_update() needs to be called in vm-sound-ALSA
> ----------------------------------------------------------
>
> Key: SQ-638
> URL: http://tracker.squeakland.org/browse/SQ-638
> Project: squeakland
> Issue Type: Bug
> Components: etoys-sugar
> Reporter: Sayamindu Dasgupta
> Assignee: Sayamindu Dasgupta
> Fix For: etoys 5 and showcase
>
> Attachments: dlo_9375.patch
>
>
> In XO 1.5, the the sounds produced in Etoys and Scratch are jumpy (http://dev.laptop.org/ticket/9375). It turns out that the issue is solved by calling snd_pcm_avail_update() after calling snd_pcm_delay() in squeak/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c
> This seems to be consistent with the ALSA documentation (http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#g41ca534658076885d9b077ad674750cd) which says about snd_pcm_avail_update():
> "Also this function might be called after snd_pcm_delay() or snd_pcm_hwsync() functions to move private ring buffer pointers in alsa-lib (the internal plugin chain)."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the etoys-notify
mailing list