[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Adding MP3 playing?

From: Marisa Giancarla
Subject: Re: [XForms] Adding MP3 playing?
Date: Sat, 30 May 2015 06:41:48 -0700

Ok, I do a fork() in my main.c file before starting Xforms calls and it is working fine. Thanks for the pointer!


Empire Directory: https://EmpireDirectory.net

On May 30, 2015, at 3:07 AM, Marisa Giancarla <address@hidden> wrote:

Thanks, I'll look into that. My main concern was the input loop of Xforms being threaded and the MP3 code locking up the Xforms thread or the Xcode thread blocking the MP3...

On May 30, 2015, at 2:58 AM, Jens Thoms Toerring <address@hidden> wrote:

Hi Marisa,

On Sat, May 30, 2015 at 02:22:41AM -0700, Marisa Giancarla wrote:
Anyone have any pointers on adding MP3 file playing to my Xforms app? I need
to be compatible on linux & OS X...

Never done that myself (and it's not anything XForms would
do by itself), but I've read that one way to do it is using
libmpg123 together with libao (the former doing the decompres-
sion, the latter the playing), which both claim to be support
Linux and OS X. A simple example can be found here:


                     Best regards, Jens
 \   Jens Thoms Toerring  ________      address@hidden
  \_______________________________      http://toerring.de

reply via email to

[Prev in Thread] Current Thread [Next in Thread]