On Saturday 11 Jun 2005 20:25, Guillaume Laurent wrote:
> I wanted to give audio recording a try, in order to get the preview
> update bug fixed, and all I get is a dialog telling me to fix the
> audio path (which is pointing to a perfectly normal directory).
> Looking at the code, it's the throw() in sequencemanager.cpp:848. Any
> clues for further investigation ?

RG now checks for a valid audio record path separately, before it tries 
to record -- previously it just tried to record and barfed if writing 
the file failed.  If the valid path check fails, you get a throw from 
AudioFileManager::testAudioPath propagated from sequencemanager.cpp:597 
or handled at trackbuttons.cpp:615.  You would normally see this in a 
dialog either when you arm an audio track for recording, or when you 
hit Record having just loaded a file with tracks already armed but with 
an invalid audio file path.

The throw at sequencemanager.cpp:848 is different -- that's the one you 
get when recording fails to start, and the dialog box message is a bit 
out of date, because the audio file path is unlikely to be the problem 
as that's now tested separately.

This one probably comes from AlsaDriver::record() returning false.  Try 
building AlsaDriver.cpp with DEBUG_ALSA uncommented.  And double check 
that you're running a rosegardensequencer that matches your rosegarden.


Chris


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to