Re: [LAD] Mixer GUI for EMU 10k cards

From: Camilo Polymeris <cpolymeris@email-addr-hidden>
Date: Sat Aug 28 2010 - 20:57:11 EEST

On Sat, 2010-08-28 at 19:00 +0200, hermann wrote:
> Am Samstag, den 28.08.2010, 10:06 -0400 schrieb Camilo Polymeris:
> > Hello all,
> >
> > A long ago, I said on this list (I think), I had the intention to write
> > a graphical mixer/router for the EMU 10k cards (EMU 1212m & EMU 1616m).
And maybe, EMU 1810.

> > I wanted to make a nice, well-written, full-featured app with routing
> > levels and eventually effects and all, but couldn't figure out all the
> > intricacies of the card's driver.
> >
> > So, over the last two nights I hacked together a simple "Matrix"-style
> > app, very ugly in code, but functional, for me, at least.
> >
> > I won't have time to maintain it, but if you want to try it out, at the
> > end of this message you'll find links to a screenshot, the source
> > package and an x86_64 build. You'll need Qt & ALSA libraries, of course.
> > Be aware that many features are missing, but basic routing works. I'll
> > put up a version control repo when I have time.
> >
> > Any comments welcome.
> >
> > Greetings,
> > Camilo
> >
> > Links. Everything licensed under GPLv3:
> > http://www2.udec.cl/~cpolymeris/emutrix/Screenshot-EMutrix-1.png
> > http://www2.udec.cl/~cpolymeris/emutrix/emutrix-0.1.tar.bz2
> > http://www2.udec.cl/~cpolymeris/emutrix/emutrix
> >
>
> Hi Camilo
>
> I try it on debian/sid 32 bit, it build with some warnings,
> [. . . . .]
> g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_XML_LIB -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -o mainwindow.o
> mainwindow.cpp
> mainwindow.cpp:118: warning: unused parameter ‘checked’
> mainwindow.cpp:126: warning: unused parameter ‘bg’
> mainwindow.cpp:126: warning: unused parameter ‘visible’
> [ . . . . . ]
>
> It build and start, but when I push a button or a checkbox it segfault
>
> (gdb) run
> Starting program: /home/brummer/Projekte/emutrix/emutrix/emutrix
> [Thread debugging using libthread_db enabled]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7f2b430 in snd_hctl_elem_write () from /usr/lib/libasound.so.2
>
> My card is
>
> 0 [Live ]: EMU10K1 - SB Live! Platinum [CT4760P]
> SB Live! Platinum [CT4760P] (rev.8,
> serial:0x80401102) at 0x5040, irq 18
>
> greats hermann
>
>

Hi hermann,

Thanks for the feedback. I made a lot of assumptions from my own card
and installed driver & not a lot of sanity checks. Is your card EMU 1010
based?
What's the output of the "amixer info" command?

My own is a EMU 1212m (old PCI version), amixer info:

Card default 'EMU1010'/'E-mu 1010 [MAEM8810] (rev.3, serial:0x40011102)
at 0xc000, irq 16'
  Mixer name : 'SB Audigy'
  Components : ''
  Controls : 239
  Simple ctrls : 80

I am no expert on ALSA or EMU soundcards, so I don't know the
differences among cards and drivers, but will code some checks now, to
make sure it doesn't crash that easy.

Greetings,
Camilo

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Aug 29 08:15:04 2010

This archive was generated by hypermail 2.1.8 : Sun Aug 29 2010 - 08:15:04 EEST