Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

blah! going to try a different approach.

  • Loading branch information...
commit 5b67321ecff603bad944f2a49c70e881b3675f57 1 parent 5a28e63
@zpmorgan authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  examples/spectrogram.pl
  2. +1 −0  lib/PDL/GStreamer.pm
View
3  examples/spectrogram.pl
@@ -8,7 +8,7 @@
use PDL::FFTW;
use PDL::Complex;
-my $do_play = 0;
+my $do_play = 1;
use File::Spec;
my $filename = shift @ARGV;
@@ -24,6 +24,7 @@
my $seconds = 28;
my ($audio,$format) = $tune->capture_audio($seconds);
+ ($audio,$format) = $tune->capture_audio($seconds);
unless(!$do_play or fork()){
#die $audio->dims;
View
1  lib/PDL/GStreamer.pm
@@ -233,6 +233,7 @@ sub _read_audio_caps{
signed => $signedness,
channels => $channels,
packtemplate => $ptemplate,
+ caps => $caps, #in case we missed something.
};
return $format;
}
Please sign in to comment.
Something went wrong with that request. Please try again.