Re: [gtk-list] Sound with GTK
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Sound with GTK
- Date: Wed, 17 Jun 1998 09:15:03 -0400 (EDT)
On Wed, 17 Jun 1998, Pete Hollobon wrote:
> Hi,
>
> I'm currently writing a program to play samples with real-time adjustable
> rate. At the moment, I'm forking a child to actually send the sample to
> /dev/audio, and the parent changes the pitch with IOCTL on the same
> file descriptor and does various other things.
>
> I'm not too happy with this approach, as I'd like to be able to set
> cue-points on teh same and various other things that would require
> communication with the child playing the sample. I tried using
> the timeout functions, but they made the whole app very jerky.
>
> I also have the problem that GDK gives me "an X io error occured" error,
> due to me closing the connection to X.
>
> Anyone got any ideas about a better implementation?
You might want to look at rplay and (what was the other? 'netplay'?).
They're client/server audio playback packages.
Also, this isn't of any help, but I'd like to generalize the question:
has any work been done on a "media layer" for X, with synchronized
playback of audio and video? Something like QuickTime(tm) is _badly_
needed.
--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]