#408: Pulseaudio 0.9.10 when run on ARMv6 gets a failed at pulsecore/memblock.c:205 on playfile ------------------------+--------------------------------------------------- Reporter: sdsuram9 | Owner: lennart Type: tracking | Status: closed Milestone: | Component: daemon Resolution: elsewhere | Keywords: pulseaudio 0.9.10 ------------------------+--------------------------------------------------- Changes (by knightk):
* status: new => closed * resolution: => elsewhere Comment: I have pulseaudio 0.9.10 running on the ARMv6 compiled and deployed using freescale's LTIB5 on their iMX31 uP. The issue was with libsndfile's SF_INFO sf_count_t frames in pulsecore /sound-file-stream.c pa_play_file() and pulsecore/sound-file.c pa_sound_file_load(). The SF_INFO struct is filled by sf_open_fd but frames only takes 4 bytes instead of 8. Consequently, all the other members are offset by 4 bytes i.e the sample rate is occupies the top 4 bytes of the frame, the number of channels occupies where the sample rate should be etc. Therefore, with the sample rate and number of channels incorrect the 205 error occurs. I don't know why sf_open_fd in libsndfile does not fill the frame member with 8 bytes and yet pulseaudio's sound-file-stream.c reads 8 bytes for the frame member. They both use the same sndfile.h which specifies the frame member as kernel type off_t. If anyone knows how to fix libsndfile to fill SF_INFO correctly that would be good because I don't want to keep a customized version of pulseaudio 0.9.10. Thanks -- Ticket URL: <http://pulseaudio.org/ticket/408#comment:14> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets