Try­ing to get some more soundsys­tem relat­ed progress

I start­ed a wiki page about improv­ing the soundsys­tem. The idea is sim­i­lar to the wiki page about improv­ing our lin­ux­o­la­tor. It’s a way to tell the peo­ple what is cur­rent­ly avail­able as patch­es (and where), what is bro­ken and needs to be fixed, which improve­ments we like to see and so on. It’s maybe also a good place to list docs for sound­chips. Cur­rent­ly the page about the soundsys­tem is a lit­tle bit low on con­tent. I hope a lot of peo­ple con­tribute with ideas, facts, sug­ges­tions, point­ers to help­ful stuff, (point­ers to) bugs, point­ing out lack of docs and so on (either by mod­i­fy­ing the page, or by mail­ing stuff to multimedia@FreeBSD.org).

With the lin­ux page I was able to gain some momen­tum and sev­er­al peo­ple are already help­ing with patch­es, run­ning tests and so on (even lit­tle help mat­ters). I hope the sound page will show a sim­i­lar benefit.

So dear read­er, do you play some music some­times? Do you play an instru­ment which can be con­nect­ed to some oth­er stuff (MIDI)? Do you use acrore­ad, skype, or some oth­er lin­ux soft­ware? If yes go to the wiki pages and read them please. When you’re fin­ished please donate 5 – 10 min­utes (I don’t mind if you sep­nd more) of your time and try to tell us at multimedia@FreeBSD.org or emulation@FreeBSD.org about stuff you think could be lis­tet there (instead of smok­ing a cig­a­rette, argue­ing about bad behav­ior of peo­ple around you, or sim­i­lar neg­a­tive stuff). Thanks in advance and trust me, you will earn good kar­ma when you do this!

5 thoughts on “Try­ing to get some more soundsys­tem relat­ed progress”

  1. Hi Alexan­der

    I hope this com­ment will not be left unseen and it will get a response,
    if there is a more appro­pri­ate method for leav­ing a com­ment to you,
    let me know.

    Cur­rent­ly using totem I’m play­ing some mp3’s.
    sound: snd_ich
    fbsd 6.2‑RC1/releng
    xorg 7.2‑rc3
    gnome 2.16.2

    prob­lem 1
    * I hear momen­tar­i­ly laps­es of sound, small breaks while
    play­ing. Like the sound stream is dis­rupt­ed. This is experienced
    while cpu is under heavy pres­sure, which is com­mon here.

    I am won­der­ing if there is some­thing I can do to make the sound
    stream flu­ent, or whether this is a gen­er­al prob­lem with the freebsd
    sound system.

    prob­lem 2
    now while at it.. flash and sound. the linux/unix flash play­er sound
    sys­tem is cur­rent­ly based on ALSA, the lin­ux sound sys­tem. is there
    any devel­op­ment in the direc­tion of court­ing the flash developers
    to con­sid­er sup­port­ing a freeb­sd sound sys­tem mod­el alongside
    ALSA, or have there been con­sid­er­a­tions toward imlementing
    an ALSA com­pat­i­bil­i­ty ‘lay­er’ ? Last I heard was that the flash
    linux/unix team man­ag­er were open to oth­er unix sys­tems using
    the flash plu­g­in if pos­si­ble (they changed from a license wording
    that said it could only be used on Lin­ux to a more gen­er­al wording
    that com­fort­ed the rest of the crowd, freeb­sd included).

    keep up the good work.
    Casper

  2. anoth­er note..

    we have:
    cups – com­mon unix print­ing system

    can we have:
    cuss – com­mon unix sound system
    or
    cuas – com­mon unix audio system

    with your involved in the sound sys­tem projects,
    have you heard any­thing about such a won­der­ful idea?

  3. Hi,

    prob­lem 1: do a “sysctl ‑a | grep laten­cy”. If some­thing shows up in the sound sys­tem relat­ed area increase the val­ue and try again (I have to use 64 for my snd_es137x). If this does­n’t help, ask on multimedia@FreeBSD.org.

    prob­lem 2: Search the multimedia@ mail­inglist. Some­one @FreeBSD.org wrote a plu­g­in which uses OSS instead of ALSA (the flash devel­op­ers pro­vid­ed some hooks for just this reason).

    cups/cuss: CUPS is a user­land solu­tion for hard­ware which is con­nect­ed exter­nal­ly via a con­nec­tion which allows this. In the soundsys­tem only an USB audio dri­ver would be pos­si­ble in user­land, but you would need spe­cial appli­ca­tions using this user­land solu­tion. All real sound­cards (“real” as in con­nect­ed to the PCI bus) need some stuff in the ker­nel. So you have to write ker­nel stuff in any case. So you can’t use CUPS as a pat­tern here.

    Bye,
    Alexander.

  4. Pingback: Video4Linux support in FreeBSD « The Daily BSD
  5. Hi Alexan­der;

    FWIW, I spent some time tak­ing a cou­ple of head­ers from NetB­SD and OSS to replace GPL’d head­ers in the sound sys­tem. The GPL is, I under­stand, the main rea­son why we don’t com­pile in work­ing sound by default on FreeBSD.
    I hope some­one looks at kern/153901 and kern/153920. I should also men­tion that OSS car­ries the head­er required to make the csa driver
    GPL free, but I nev­er found a moti­vat­ed indi­vid­ual to help me with that one.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.