AW: How to play an mp3 file from a database

2012-04-22 Thread Alex
Hi! Ok, now I don't get any error when playing mp3 files from the database, but I don't get any sound either. I updated Alien::SDL to the latest version, that worked. However, SDL itself didn't pass the tests, it's the channels test that fails. So I installed with force, but no change. Is there

AW: How to play an mp3 file from a database

2012-04-22 Thread Alex
Dear all! It took me quite some time, but I'm moving forward. Here are some screens from my vocabulary trainer: https://picasaweb.google.com/104129024313554475104/Vokabeltrainer?authuser=0 &authkey=Gv1sRgCKLyn6SSwIvCgwE&feat=directlink Now I want to play a vocable audio file (that is of course,

AW: How to play an mp3 file from a database

2011-12-03 Thread Alexander Becker
Wohoo! That’s really great! Here is my current (OMG: it’s SDL + Tk) proof-of-concept-script. It plays a file via start and stop buttons. In case anyone has suggestions, please don’t hesitate to drop me an email. [code] #!perl use strict; use warnings; use utf8; use Tk; use DBI; use S

AW: How to play an mp3 file from a database

2011-12-01 Thread Alexander Becker
Hi! The example code in your link gives me version 1.2.11 on Win 7 x64 with strawberry perl 5.12.2 built for MSWin32-x64-multi-thread. HTH, Alex [code] use SDL::Mixer; use SDL::Version; my $version = SDL::Mixer::linked_version(); printf("%d.%d.%d\n", $version->major, $version->minor, $ver

AW: How to play an mp3 file from a database

2011-11-30 Thread Alexander Becker
Hi breno, thank you for the quick response. It helped. I had a look into mixer_samples.t and line 106 states, that quick_load_WAV is not (yet? Who do I have to bribe with what to get it?) implemented. Here is a working piece of code using temporary files. Of course, you need a database containing