Hi Dmitry,

Having the following problem, I have the latest from CVS:

Traceback (most recent call last):
  File "lib/sound.py", line 16, in ?
      snd= sound.Output( sampleRate, channels, sound.AFMT_S16_LE )
      pymedia.audio.sound.SoundError: Cannot create sound object. Error
      text is: -22, Invalid argument


Here is the app this is coming from:

--
import wave
import pymedia.audio.sound as sound

CHANNELS= 1
SAMPLES= 512
NUM_FREQS= 512
RATE= 44100

f= wave.open( 'openGtune.wav','r' )
sampleRate= f.getframerate()
channels= f.getnchannels()
snd= sound.Output( sampleRate, channels, sound.AFMT_S16_LE )
--

I confirmed that this does work if I disable ALSA by changing the
"include" on sound/sound.cpp:31 to include "audio_unix.h" instead
of "audio_alsa.h" (is there an easier way to enable/disable
these kinds of options?).

On Fri, Feb 17, 2006 at 08:50:33AM -0800, Dmitry Borisov wrote:
> Anyone have any comments on a 1.3.7.0 version ? 
> Bugs to report or issues ?
> Let me know asap please,
> Dmirty/
>   ----- Original Message ----- 
>   From: Dmitry Borisov 
>   To: [email protected] 
>   Sent: Wednesday, February 01, 2006 9:28 AM
>   Subject: [Pymedia-users] Pymedia 1.3.7.0 is ready for testing in CVS
> 
> 
>   All,
>   I have submitted 1.3.7.0 version for a beta testing to CVS before the 
> official release.
>   Here are changes:
>       - alsa support added
>       - wav support added for decoding ( adpcm, pcm, etc )
>       - pts handling added for muxer
>       - genre meta tag added
>   I'm still working on fixing other small bugs you reported lately, please 
> bear with me this/next week. I will post notices as available in CVS.
> 
>   Report any bug you'll find through the bug tracker.
> 
>   Thank you,
>   Dmitry/
> 
>   [edit]The previous email contains wrong version number[/edit]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users

Reply via email to