This very well may have been in the archives, but sf.net mail archive
capability appears to be hosed at the time I send this (SOURCEFORGE!
whee!)

I ran into a curious problem, but I'm not sure why it doesn't work.  I
was converting some small WAVs to Ogg, for example:

http://www.wiseacre-gardens.com/buttons/pics/sounds/foghorn06.wav

If you just do the default "oggenc forhorn06.wav" you get:

$ ogginfo foghorn06.ogg
Processing file "foghorn06.ogg"...

New logical stream (#1, serial: 602cb0b0): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20020717 (1.0)
Channels: 1
Rate: 11025

Nominal bitrate: 29.000000 kb/s
Upper bitrate not set
Lower bitrate not set
Vorbis stream 1:
        Total data length: 33118 bytes
        Playback length: 0m:07s
        Average bitrate: 33.487425 kbps
Logical stream 1 ended


But if try and play it, I get:

$ ogg123 foghorn06.ogg

Audio Device:   Advanced Linux Sound Architecture (ALSA) output

Playing: foghorn06.ogg
ALSA snd_pcm_hw_params_set_period_size error: Invalid argument
Error: Cannot open device alsa09.


Appears ALSA cannot support the rate of this Ogg Vorbis file?  Cause if
I encode the file like:

oggenc --resample 44100 foghorn06.wav 

I have no problems playing it.  Just kind of curious what I have to do
to get ALSA to support the lower rate?  Course, maybe it doesn't matter.


--
Dale Harris   
[EMAIL PROTECTED]
/.-)


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to