James schreef:
> Nick Rout <nick <at> rout.co.nz> writes:
> 
> 
> 
>>OK time to play "spot the obvious error" - your command line
> 
>  has ATAPI:1,1,0,
> whereas the device is at ATAPI:0,0,0
> 
>>try the command line again with the correct device 
> 
> 
> 
> OK, I've tried a variesty of wav files, including some 
> saved .wav files from my
> vonage system that plays just fine. Always I get the same 
> closing error:
> 
> 
> cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v 
> startup.wav
> 
> 
> cdrecord: Inappropriate audio coding in 'startup.wav'.
> 

>From man cdrecord:

-audio If this flag is present, all subsequent tracks are written in
CD-DA (similar to Red Book) audio format.  _The file with data for this
tracks should contain stereo, 16-bit digital audio with 44100
samples/s._  The byte order should be the following: MSB left, LSB left,
 MSB  right, LSB  right,  MSB left and so on. The track should be a
multiple of 2352 bytes. It is not possible to put the master image of an
audio track on a raw disk because data will be read in multiple of 2352
bytes during the recording process.

If a filename ends in .au or .wav the file is considered to be a
structured audio data file.  Cdrecord assumes that the file in  this
case is  a Sun audio file or a Microsoft .WAV file and extracts the
audio data from the files by skipping over the non-audio header information.

In all other cases, cdrecord will only work correctly if the audio data
stream does not have any header.   Because  many  structured  audio
files  do  not  have  an  integral  number  of  blocks (1/75th second)
in length, it is often necessary to specify the -pad option as well.
cdrecord recognizes that audio data in a .WAV file is stored in Intel
(little-endian) byte order, and will automatically byte-swap the data
if  the  CD recorder requires big-endian data.  _Cdrecord will reject
any audio file that does not match the Red Book requirements of 16-bit
stereo samples in PCM coding at 44100 samples/second._

Possibly your .wav file is in fact 'inappropriately encoded'? Does it
burn if you use -data instead of -audio?

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to