line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Audio::LADSPA perl modules for interfacing with LADSPA plugins |
2
|
|
|
|
|
|
|
# Copyright (C) 2003 Joost Diepenmaat. |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify |
5
|
|
|
|
|
|
|
# it under the terms of the GNU General Public License as published by |
6
|
|
|
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or |
7
|
|
|
|
|
|
|
# (at your option) any later version. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful, |
10
|
|
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
11
|
|
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12
|
|
|
|
|
|
|
# GNU General Public License for more details. |
13
|
|
|
|
|
|
|
# |
14
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License |
15
|
|
|
|
|
|
|
# along with this program; if not, write to the Free Software |
16
|
|
|
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17
|
|
|
|
|
|
|
# |
18
|
|
|
|
|
|
|
# See the COPYING file for more information. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
package Audio::LADSPA::Plugin::XS; |
21
|
11
|
|
|
11
|
|
58
|
use strict; |
|
11
|
|
|
|
|
75
|
|
|
11
|
|
|
|
|
390
|
|
22
|
11
|
|
|
11
|
|
54
|
use base qw(DynaLoader Audio::LADSPA::Plugin); |
|
11
|
|
|
|
|
19
|
|
|
11
|
|
|
|
|
7821
|
|
23
|
|
|
|
|
|
|
our $VERSION = "0.021"; |
24
|
11
|
|
|
11
|
|
121
|
use Carp; |
|
11
|
|
|
|
|
23
|
|
|
11
|
|
|
|
|
5445
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__PACKAGE__->bootstrap($VERSION); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub new { |
29
|
0
|
|
|
0
|
1
|
|
my ($class,$rate,$uid) = @_; |
30
|
0
|
|
0
|
|
|
|
$uid ||= $class->generate_uniqid; |
31
|
0
|
|
|
|
|
|
$class->new_with_uid($rate,$uid); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |