diff options
author | fulup <fulup.arfoll@iot.bzh> | 2018-06-05 00:28:17 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2018-06-05 00:28:17 +0200 |
commit | c4c0647af21b2a05e87f36101d86dc2d35f1f47c (patch) | |
tree | 079ec4c4d4153370ae3f2872658f13ed68398000 /plugins/alsa/alsa-core-pcm.c | |
parent | 067d28e5010cb37035caf756a39f2ca27d4589d3 (diff) |
Update info command and move HTML5 to new API
Diffstat (limited to 'plugins/alsa/alsa-core-pcm.c')
-rw-r--r-- | plugins/alsa/alsa-core-pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/alsa/alsa-core-pcm.c b/plugins/alsa/alsa-core-pcm.c index b69d8c6..de2c437 100644 --- a/plugins/alsa/alsa-core-pcm.c +++ b/plugins/alsa/alsa-core-pcm.c @@ -222,8 +222,8 @@ STATIC int AlsaPcmReadCB(sd_event_source* src, int fd, uint32_t revents, void* u } // In/Out frames transfer through buffer copy - //framesOut = snd_pcm_writei(pcmCopyHandle->pcmOut, pcmCopyHandle->buffer, framesIn); - framesOut = snd_pcm_mmap_writei (pcmCopyHandle->pcmOut, pcmCopyHandle->buffer, framesIn); + framesOut = snd_pcm_writei(pcmCopyHandle->pcmOut, pcmCopyHandle->buffer, framesIn); + //framesOut = snd_pcm_mmap_writei (pcmCopyHandle->pcmOut, pcmCopyHandle->buffer, framesIn); if (framesOut < 0 || framesOut != framesIn) { AFB_ApiNotice(pcmCopyHandle->api, "AlsaPcmReadCB PcmOut=%s UNDERUN frame=%ld", ALSA_PCM_UID(pcmCopyHandle->pcmOut, string), (framesIn - framesOut)); snd_pcm_prepare(pcmCopyHandle->pcmOut); |