in reply to Playing wave file in Ubuntu 10.10
That library is for reading raw data from wav files. It is not for playing them.
In theory you could probably use it and another module that interfaces with your sound card such as Audio::DSP, but unless this is some sort of learning project or your needs are complex or unusual, then that would probably be to much work.
Instead I suggest you check out the many Linux applications out there for playing multimedia. If it where me I would start with mplayer or perhaps ffplay (part of ffmpeg), as they both have simple command line interfaces.
|
|---|