Re: [ecasound] lame error

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] lame error
From: Kai Vehmanen (k@eca.cx)
Date: Tue Mar 13 2001 - 22:41:16 EET


On Tue, 13 Mar 2001, William Goldsmith wrote:

> When I try to record to an mp3 file I get an error:
[...]
> (audioio-mp3) Can't start process "lame -b 128 -x -S - %f". Please check
> your ~/.ecasoundrc.
> (eca-main) Warning! An output object has raised an error! Out of disk space,
> permission denied, etc?

Doh, this is a bug in 1.9dev4 (introduces while fixing the mpg123-zombie
problem in 1.9dev3). I'll put the fix right away to the CVS-tree. Here's a
patch against 1.9dev4:

--cut--
--- audioio-mp3.cpp 2001/03/06 02:31:05 1.21
+++ audioio-mp3.cpp 2001/03/13 20:39:27
@@ -56,8 +56,11 @@
 void MP3FILE::open(void) throw(AUDIO_IO::SETUP_ERROR &) {
   if (io_mode() == io_read) {
     get_mp3_params(label());
- }
   fork_mpg123();
+ }
+ else
+ fork_lame();
+
   toggle_open_state(true);
   triggered_rep = false;
 }
@@ -195,6 +198,7 @@
 
 void MP3FILE::fork_lame(void) {
   ecadebug->msg("(audioio-mp3) Starting to encode " + label() + " with lame.");
+ last_position_rep = position_in_samples();
   set_fork_command(MP3FILE::default_mp3_output_cmd);
   set_fork_file_name(label());
   fork_child_for_write();
--cut--

-- 
 . http://www.eca.cx ... [ audio software for linux ] /\ . 
 . http://www.eca.cx/aivastus ... [ aivastus net radio ] /\ .

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Mar 13 2001 - 22:45:07 EET