Xine-devel
[Top][All Lists]
Advanced

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

Re: [xine-devel] lcd-plugin


To: Simon Persson <simper-2@xxxxxxxxxxxxxx>
Subject: Re: [xine-devel] lcd-plugin
From: Michael Roitzsch <mroi@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Sep 2005 22:52:44 +0200
Cc: xine-devel@xxxxxxxxxxxxxxxxxxxxx
Delivered-to: itdp@localhost
In-reply-to: <20050920192706.GA7671@obelix.campus.ltu.se>
References: <20050920192706.GA7671@obelix.campus.ltu.se>

Hi Simon,

Does it matter if I register the plugin as audio_filter or audio_visualization?

audio filters are supposed to have one audio input and one audio output, while audio visualizations typically have an additional video output.


My interception of the audio_target doesn't work. The port_open function doesn't get called. I have basically just kept the example code. I know it's not easy to know what's wrong just like that, but is there some common error done with this?

I run xine as:
xine --verbose --post lcdinfo Breathing_Chemicals.mp3

that should be enough wirering right? The open_plugin function gets called at least.

Could you post the code of your plugin, please?


And as I haven't done this kind of programming before I also wonder a bit about the arcitechtual part as well... How often does put_buffer get called? Often enough to update the lcd smoothly, say 20 fps...?

I think there is no real guarantee here. Imagine that playback would use a long buffer in the audio output, then your plugin would not be called any more at an arbitrary time before the playback actually ends.


Or is a separate thread needed to feed the lcd periodcly?

I think this solution would be cleaner.


Michael




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xine-devel mailing list
xine-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xine-devel



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