[Alsaplayer-devel] libalsaplayer in LiVES
salsaman
salsaman at xs4all.nl
Sat Oct 1 16:04:20 BST 2005
Jay C. wrote:
>Salsaman,
>
>You do have alsaplayer running as a daemon while you use libalsaplayer,
>correct?
>
>--Jay
>
>
Ah no !
How do I run it as a daemon ?
Perhaps I can also explain a bit more about the requirements for LiVES.
Each clip with audio in LiVES has a raw pcm file. The rate can be
anything, and is stored as part of the clip. The number of channels can
be currently mono or stereo.
When a clip starts playing, currently I just start sox as a separate
process, and it plays the audio for the first clip (clips can be
switched during playback). This is very unsatisfactory, as it is not
possible to do even simple things like pause the audio.
What I would like is:
- play the audio in same/separate thread
- realtime control of the audio, so that when the video clip is
switched, the audio track (file) is also switched
- ability to pause the audio
- ability to change the audio speed in realtime, including reverse play
- ability to adjust the volume in realtime
- ability to take timing from the sound card, so that video and audio
remain in sync
- knowing when the audio seek is ready, so that video and audio playback
can begin simultaneously
- ability to capture any audio that is being sent to the soundcard
(record mode)
- ability to let the user pick the audio devices for playback and capture
Any help with this would be greatly appreciated.
Regards,
Salsaman.
More information about the alsaplayer-devel
mailing list