Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-27 Thread Adam Tla/lka
On Fri, Feb 27, 2004 at 02:49:42PM +0100, Adam Tla/lka wrote: > Back to bzflag. I will be investigating that. If you debug aoss ioctl call you find that fragshift is set to 12 and maxfrags to 4. I must read the doc and find what is proper but maybe there is some parameter mistake. If you swap the p

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-27 Thread Adam Tla/lka
On Fri, Feb 27, 2004 at 01:38:16PM +0100, Michel Dänzer wrote: > ioctl(5, SNDCTL_DSP_SETFRAGMENT, 0x7308[4000c]) > > even with the attached patch, which used to be enough to get it working. > Adam's ('small and cosmetic'??? :) patch doesn't help either. with this patch I could use Quake3, java

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-27 Thread Michel Dänzer
On Thu, 2004-02-26 at 19:38, Jaroslav Kysela wrote: > On Thu, 26 Feb 2004, Michel DÃnzer wrote: > > > The problem occurs when the ALSA_OSS_WRAPPER environment variable isn't > > set. initialize() returns early, so the public functions segfault when > > they try to dereference the uninitialized fds

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Michel Dänzer
On Thu, 2004-02-26 at 11:30, Jaroslav Kysela wrote: > On Thu, 26 Feb 2004, Michel DÃnzer wrote: > > > > LD_PRELOAD=~/src/alsa-cvs/alsa-oss/alsa/.libs/libaoss.so bzflag > > zsh: segmentation fault [...] > > How can I debug this? > > Define this: > > export ALSA_OSS_DEBUG=1 > > and run the app

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Jaroslav Kysela
On Thu, 26 Feb 2004, Michel Dänzer wrote: > On Thu, 2004-02-26 at 11:30, Jaroslav Kysela wrote: > > On Thu, 26 Feb 2004, Michel Dänzer wrote: > > > > > > LD_PRELOAD=~/src/alsa-cvs/alsa-oss/alsa/.libs/libaoss.so bzflag > > > zsh: segmentation fault > > [...] > > > > How can I debug this? > > >

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Michel Dänzer
On Thu, 2004-02-26 at 15:10, Jaroslav Kysela wrote: > > Can you try with the mpg123 program? It works on x86. It can successfully print the usage info, but also crashes when trying to actually play a file. Note that even gdb crashes on startup, so the problem seems completely unrelated to sound?

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Jaroslav Kysela
On Thu, 26 Feb 2004, Michel Dänzer wrote: > On Thu, 2004-02-26 at 15:10, Jaroslav Kysela wrote: > > > > Can you try with the mpg123 program? It works on x86. > > It can successfully print the usage info, but also crashes when trying > to actually play a file. Note that even gdb crashes on startu

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Sergey Vlasov
On Thu, Feb 26, 2004 at 03:30:04PM +0100, Michel D?nzer wrote: > On Thu, 2004-02-26 at 15:10, Jaroslav Kysela wrote: > > > > Can you try with the mpg123 program? It works on x86. > > It can successfully print the usage info, but also crashes when trying > to actually play a file. Note that even g

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Michel Dänzer
On Thu, 2004-02-26 at 16:55, Sergey Vlasov wrote: > > $ gdb mpg123 > (gdb) set args xxx.mp3 Or gdb --args mpg123 xxx.mp3 ;) > (gdb) set env LD_PRELOAD /home/user/src/alsa-cvs/alsa-oss/alsa/.libs/libaoss.so > (gdb) run > > This way LD_PRELOAD will be set only for the debugged process, and not fo

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Michel Dänzer
On Thu, 2004-02-26 at 15:33, Jaroslav Kysela wrote: > > It looks that the wrapper code does not work as expected. > Can you add a printf calls to all public functions in > the alsa-oss/alsa/alsa-oss.c code, so we can determine > where the code hangs? The problem occurs when the ALSA_OSS_WRAPPER

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Jaroslav Kysela
On Thu, 26 Feb 2004, Michel Dänzer wrote: > On Thu, 2004-02-26 at 15:33, Jaroslav Kysela wrote: > > > > It looks that the wrapper code does not work as expected. > > Can you add a printf calls to all public functions in > > the alsa-oss/alsa/alsa-oss.c code, so we can determine > > where the cod

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-26 Thread Jaroslav Kysela
On Thu, 26 Feb 2004, Michel Dänzer wrote: > On Sat, 2004-02-21 at 23:05, Jaroslav Kysela wrote: > > > > I am trying to fix resampling problems in alsa-lib and OSS > > emulation problems in alsa-oss package. I released first preview of my > > changes. It would be nice, if you can test my chan

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-25 Thread Michel Dänzer
On Sat, 2004-02-21 at 23:05, Jaroslav Kysela wrote: > > I am trying to fix resampling problems in alsa-lib and OSS > emulation problems in alsa-oss package. I released first preview of my > changes. It would be nice, if you can test my changes and report me bugs > or comments (especially to

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-25 Thread Will
Jaroslav Kysela wrote: >> Will wrote: >> the OSS emulation is really very broken. Do you think it's something you >> can easily fix? > >Well, it's question if it's worth to take care. I think that we have far >more better applications using directly ALSA sequencer API. Yes, you're right. The new

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-25 Thread Jaroslav Kysela
On Tue, 24 Feb 2004, Will wrote: > Jaroslav Kysela <[EMAIL PROTECTED]> wrote: > > > >changes. It would be nice, if you can test my changes and report me bugs > >or comments (especially to the new OSS redirector code). > > > > What do you think of my bug report on ALSA OSS emulation of > /dev/sequ

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-24 Thread Will
Jaroslav Kysela <[EMAIL PROTECTED]> wrote: > >changes. It would be nice, if you can test my changes and report me bugs >or comments (especially to the new OSS redirector code). > What do you think of my bug report on ALSA OSS emulation of /dev/sequencer? I posted it at http://bugtrack.alsa-projec

Re: [Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-23 Thread Pawel Rozanski
Jaroslav Kysela wrote: > > changes. It would be nice, if you can test my changes and report me bugs > or comments (especially to the new OSS redirector code). > I couldn't find, so i'll ask. Are there any tests for alsa and friends? I upgraded to 1.0.3rc1 and it works almost well with my via82xx. O

[Alsa-devel] alsa-lib & oss 1.0.3rc1

2004-02-21 Thread Jaroslav Kysela
Hello all, I am trying to fix resampling problems in alsa-lib and OSS emulation problems in alsa-oss package. I released first preview of my changes. It would be nice, if you can test my changes and report me bugs or comments (especially to the new OSS redirector code). Changes: - alsa-l