Audio-Ecasound
view release on metacpan or search on metacpan
Revision history for Perl extension Audio::Ecasound.
1.01 Mon Jul 12 12:18:04 EST 2010
- Clarify license for Debian packaging
(Thanks Joel Roth http://github.com/bolangi)
0.93 Sun Jan 6 15:30:02 EST 2008
- RT #32101: missing flush to STDOUT from Andreas Koenig
$| is Makefile.PL and use MM's prompt instead of custom
0.92 Sun Dec 16 14:15:44 EST 2007
- Update email address
- 'todo' test done, shush test warning
- Require ecasound 2.4.5, document bugs around 2.4.4
http://www.eca.cx/ecasound-list/2006/06/0004.html
http://www.eca.cx/ecasound-list/2006/12/0007.html
0.91 Tue May 30 22:40:23 EST 2006
- Fixup pattern for tests on chainsetup error messages
(Joel Roth http://ecmdr.infogami.com)
- Move test.pl to t/ecasound.t
Ecasound.pm view on Meta::CPAN
It can be used for audio playback, recording, format conversions,
effects processing, mixing, as a LADSPA plugin host and JACK node.
Version E<gt>= 2.2.X must be installed to use this package.
L<SEE ALSO> for more info.
=head1 INSTALLATION
perl Makefile.PL
If your perl wasn't built with -Dusethreads or -D_REENTRANT you
will be prompted whether to continue with the install. It's in
your hands... See L<THREADING NOTE>
make
make test
make install
=head1 THREADING NOTE
The ecasoundc library uses pthreads so will may only work if
your perl was compiled with threading enabled, check with:
Makefile.PL view on Meta::CPAN
s/\\t/ /g' \\
)" },
CONFIGURE =>
sub {
my %cfg;
use Config;
unless ($Config{usethreads} eq 'define'
|| $Config{ccflags} =~ /\b-D_REENTRANT\b/)
{
prompt_cont(<<EOT, 'y');
Your perl was not built with -Dusethreads or -D_REENTRANT
This may cause problems loading the multithreaded library
ecasoundc (hanging on loading). It has worked fine for some.
You are welcome to try...
Proceed anyway?
EOT
}
# ecasound 2.4.4 http://www.eca.cx/ecasound-list/2006/12/0007.html
# old: ecasound < 2.2 (v2.1dev8) mv'd headers and config prgm
# old: ecasound < 2.0.1 didn't have reentrant C interface
my $eca_version = `libecasoundc-config --version`;
if(!defined($eca_version)) {
warn "Running ecasoundc-config failed: $!\n";
prompt_cont(<<EOT, 'y');
The ecasoundc-config program is used to find the version of the
ecasoundc library. You need 2.4.5 or higher.
Proceed anyway?
EOT
} else {
chomp $eca_version;
# Compare versions pre v-strings
my @ev = split /\./, $eca_version;
# maj > 2 & rest >= 4.5
unless($ev[0] >2 || ($ev[0] == 2 && "$ev[1].$ev[2]" >= '4.5')) {
prompt_cont(<<EOT, 'n');
Version 2.4.5+ of ecasound is required, you have $eca_version.
Proceed anyway? (bad idea)
EOT
}
}
unless ($ENV{ECASOUND}) {
print <<EOT;
ECI now uses the "ECASOUND" env var to find the ecasound executable.
Makefile.PL view on Meta::CPAN
EOT
}
unless ($Config{ivsize} >= $Config{longsize}) {
warn "long int is bigger than IV, may cause problems with last_long_interger\n";
}
return \%cfg;
},
);
sub prompt_cont {
my ($message, $default) = @_;
local $_;
chomp($message); # because prompt() adds "[y]\n"
while (1) {
$_ = prompt($message, $default);
if(/^n/i) { print "Aborting\n"; exit; }
if(/^y/i) { print "Continuing\n"; last; }
}
}
Ecasound is a software package designed for multitrack audio processing.
It can be used for audio playback, recording, format conversions,
effects processing, mixing, as a LADSPA plugin host and JACK node.
Version >= 2.2.X must be installed to use this package. "SEE ALSO" for
more info.
INSTALLATION
perl Makefile.PL
If your perl wasn't built with -Dusethreads or -D_REENTRANT you will be
prompted whether to continue with the install. It's in your hands... See
"THREADING NOTE"
make
make test
make install
THREADING NOTE
The ecasoundc library uses pthreads so will may only work if your perl
was compiled with threading enabled, check with:
( run in 1.112 second using v1.01-cache-2.11-cpan-6aa56a78535 )