All of lore.kernel.org
 help / color / mirror / Atom feed
From: Case van Rij <case@seattle.gii.net>
To: alsa-devel@lists.sourceforge.net
Subject: 24 bit pcm_meter ?
Date: Wed, 16 Jul 2003 07:56:49 -0700	[thread overview]
Message-ID: <20030716145649.GA9101@seattle.gii.net> (raw)
In-Reply-To: <20030715185511.19935.h007.c012.wm@mail.icqmail.com.criticalpath.net>


I'm trying to write and/or use a meter plugin like ameter with the rme
hammerfall dsp/rme 9652 so much without much success, presumably because
of the 24 bit/non-interleaved format this card seems to internally (?) 

I noticed s16_enable( ) in alsa-lib/pcm_meter.c includes some support
for other slave pcm formats, would that (in theory) mean it should work
with the RME ? 

snd_pcm_scope_s16_open( ) does seem to work (it doesnt fail) but 
when running arecord 
pcm_mmap.c:137: snd_pcm_mmap_read_areas: 
Assertion `snd_pcm_mmap_capture_avail(pcm) >= size)`

snd_pcm_mmap_capture_avail returns 0 which shouldnt happen in
snd_pcm_mmap_read_areas() .. im trying to determine if this would be the
result of the format issue. 

So far attempts at using a plug with a fixed format as slave for ameter
have failed. 

pcm.short { 
    type plug; 
    slave { 
        pcm "hw:0,0" 
		format "S16_LE"
    }
}

pcm.ameter {
    type meter
#   slave.pcm 'hw:0,0'
    slave.pcm 'short'
    frequency 10
    scopes.0 ameter
}

Any ideas ? 

Thanks,
Case


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

      parent reply	other threads:[~2003-07-16 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16  1:55 (no subject) Eliot Blennerhassett
2003-07-16 11:40 ` Takashi Iwai
2003-07-16 14:56 ` Case van Rij [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030716145649.GA9101@seattle.gii.net \
    --to=case@seattle.gii.net \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.