mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-12 02:15:12 +00:00
1.1
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@925 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -66,7 +66,7 @@ extern "C" const VisPluginInfo *get_plugin_info (int *count)
|
||||
info[0].plugname = (char*)"projectM";
|
||||
info[0].name = (char*)"libvisual projectM";
|
||||
info[0].author = (char*)"Peter Sperl";
|
||||
info[0].version = (char*)"1.00";
|
||||
info[0].version = (char*)"1.1";
|
||||
info[0].about = (char*)"projectM";
|
||||
info[0].help = (char*)"";
|
||||
|
||||
@ -221,6 +221,9 @@ extern "C" int lv_projectm_render (VisPluginData *plugin, VisVideo *video, VisAu
|
||||
float pcm[2][512];
|
||||
int i;
|
||||
|
||||
if (video->parent != NULL) lv_projectm_dimension (plugin, video->parent, video->parent->width, video->parent->height);
|
||||
else lv_projectm_dimension (plugin, video, video->width, video->height);
|
||||
|
||||
visual_buffer_set_data_pair (&pcmb, pcm[0], sizeof (pcm[0]));
|
||||
visual_audio_get_sample (audio, &pcmb, (char*)VISUAL_AUDIO_CHANNEL_LEFT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user