]> git.alsa-project.org Git - alsa-plugins.git/commit
Alsa support for Maemo SDK (n770): External PCM IO plugin
authorEduardo Valentin <eduardo.valentin@indt.org.br>
Mon, 6 Nov 2006 13:31:31 +0000 (14:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Nov 2006 13:31:31 +0000 (14:31 +0100)
commitb79063da276eecd1c3683ad3fbe9de0f66094898
tree37e7f13a6e664d7dee26230f1b9c5431f6a58016
parent964386b0ff8b52b73065ca6eb1314461b7f1af4b
Alsa support for Maemo SDK (n770): External PCM IO plugin

This patch file adds an ALSA External PCM I/O plugin. This source uses
the dsp-protocol
implementation.

The plugin probes for a free communication channel at the start time.
It will probe only
for channels specified into the configuration file for the plugin. An
configuration example is:
# PCM
       pcm.!default {
               type alsa_dsp
               playback_device_file ["/dev/dsptask/pcm2"]
               recording_device_file ["/dev/dsptask/pcm_rec"]
       }

The plugin supports the following:

    *  Playback:
          o 16-bit PCM formats:
                + S16_LE
                + S16_BE
                + U16_LE
                + U16_BE
          o 8-bit PCM formats:
                + A_LAW
                + MU_LAW
                + U8
                + S8
          o Rates:
                + 8 KHz
                + 11.025 KHz
                + 12 KHz
                + 16 KHz
                + 22.050 KHz
                + 24 KHz
                + 32 KHz
                + 44.1 KHz
                + 48 KHz
          o Channels:
                + Mono
                + Stereo
    * Recording:
          o 16-bit PCM formats:
                + S16_LE
          o 8-bit PCM formats:
                + A_LAW
                + MU_LAW
          o Rates:
                + 8 KHz
          o Channels
                + Mono

Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
maemo/alsa-dsp.c [new file with mode: 0644]