> Anyone can trace the issue down?

The fault appears to be an uninitialised variable in sound/audio_alsa.h
    - specifically "iDev" was not initialised when used in the Init()
function; and was not saved in this->iDev for the ISoundStream class.

Here's a patch (based on latest anonymous CVS checkout) that should
fix it. (Well, it fixes it for me at least!)

--------PATCH START--------
664c664
<       int Init( int rate, int channels, int format )
---
>       int Init( int rate, int channels, int format, int iDev )
705d704
<
777c776
<               =

---
>               this->iDev=3DiDev;
781c780
<               if( this->Init( rate, channels, oss2alsa_soundconst( format) 
)=3D=3D=
  0 )
---
>               if( this->Init( rate, channels, oss2alsa_soundconst( format), 
> iDev )=
=3D=3D  =

> 0 )
826c825
<                       this->Init( this->rate, this->channels, this->format );
---
>                       this->Init( this->rate, this->channels, this->format, 
> this->iDev );=

--------PATCH END--------

regards


Matt
-- 
| Matt Hammond
|
| [anything you like within reason] 'at' matthammond 'dot' org


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users

Reply via email to