#2 ALSA output support

open-accepted
Rob Leslie
madplay (1)
5
2003-07-17
2002-02-18
Hod McWuff
No

Implements 8, 16, 24(aka 32) and 32-bit output modes
using ALSA v0.9. Code taken from tests/pcm.c in alsa-lib.

It Works For Me, but has only been tested on ia32.

Discussion

  • Hod McWuff
    Hod McWuff
    2002-02-18

    alsa09 support

     
  • Rob Leslie
    Rob Leslie
    2003-06-27

    • labels: --> madplay
    • assigned_to: nobody --> verement
    • status: open --> closed-accepted
     
  • Rob Leslie
    Rob Leslie
    2003-06-27

    Logged In: YES
    user_id=42487

    I haven't tested this, but I've included it in the 0.15.0b release of
    madplay for others to try.

     
  • Hod McWuff
    Hod McWuff
    2003-07-17

    Logged In: YES
    user_id=455066

    When I tried it I got silence. Traced that to some problem
    with snd_pcm_mmap_writei; simply went to non-mmap mode.

    Moved the set hw access line into set_hwconfig where it
    belongs, and removed the access parameter - everything else
    is a global and we all know they suck, but let's be
    consistent....

    Fixed the sys/asoundlib.h obsolete include warning. Changed
    start threshold to one period, as opposed to full buffer.
    Cosmetic change to an error message.

     
  • Hod McWuff
    Hod McWuff
    2003-07-17

    patch to madplay-0.15.0b for correct alsa operation

     
  • Hod McWuff
    Hod McWuff
    2003-07-17

    • status: closed-accepted --> open-accepted