Re: [Alsa-user] Is ALSA the right tool for my app?

2008-03-14 Thread John Sigler
Allan wrote: > Following from Sean, the appropriate system to use would be netjack. > http://netjack.sourceforge.net/ I will look into it. Thanks for the pointer. I don't think I can use it as is, because I have written all sorts of code to handle retransmission, forward error correction, and s

Re: [Alsa-user] Is ALSA the right tool for my app?

2008-03-14 Thread John Sigler
Clemens Ladisch wrote: > John Sigler wrote: > >> To keep the level constant, it might need to add or remove a few >> frames once in a while. > > This won't work with Dolby data (except by dropping or adding a > complete Dolby frame). > > Using a compress

[Alsa-user] Is ALSA the right tool for my app?

2008-03-13 Thread John Sigler
Hello, I've been struggling with alsa-lib for about a week, mainly trying to come up with the appropriate configuration file. I'd like to describe what I'm trying to do, so that ALSA users might tell me whether the ALSA infrastructure is the correct tool for the app I'm writing. Consider two

Re: [Alsa-user] S32_LE format

2008-03-13 Thread John Sigler
John Sigler wrote: > I experimented with the following command: > > $ arecord -vv -M -r 48000 -f S32_LE -t raw -d 60 -D hw /tmp/out > > which gave the following output: > > Recording raw data '/tmp/out' : Signed 32 bit Little Endian, Rate 48000 > Hz, Mono

Re: [Alsa-user] One process per audio channel

2008-03-11 Thread John Sigler
John Sigler wrote: > Jaroslav Kysela wrote: > >> John Sigler wrote: >> >>> I have an RME AES-32 PCI board which provides 4 stereo input channels >>> and 4 stereo output channels. >>> >>> (I'm using the hsdpm driver at this time.) &g

Re: [Alsa-user] One process per audio channel

2008-03-11 Thread John Sigler
Hello Jaroslav, Jaroslav Kysela wrote: > John Sigler wrote: > >> I have an RME AES-32 PCI board which provides 4 stereo input channels >> and 4 stereo output channels. >> >> (I'm using the hsdpm driver at this time.) >> >> I want to use one pro

[Alsa-user] S32_LE format

2008-03-11 Thread John Sigler
Hello, I experimented with the following command: $ arecord -vv -M -r 48000 -f S32_LE -t raw -d 60 -D hw /tmp/out which gave the following output: Recording raw data '/tmp/out' : Signed 32 bit Little Endian, Rate 48000 Hz, Mono Hardware PCM card 0 'HDSPM MADI' device 0 subdevice 0 Its setup is

Re: [Alsa-user] Missing folder: /proc/asound/card0/pcm0p

2008-03-11 Thread John Sigler
hascii wrote: > the folder /proc/asound/card0/pcm0p is not there any more. What is the output of the following command? gunzip - < /proc/config.gz | grep CONFIG_SND_VERBOSE You might need to enable CONFIG_SND_VERBOSE_PROCFS in your kernel configuration. cf. http://alsa.opensrc.org/Proc_asound_

Re: [Alsa-user] Who sets /dev/snd/* owners/perms upon login?

2008-03-10 Thread John Sigler
Juan Carlos Castro y Castro wrote: > When I log in from the text consoles or the native GUI (but not by ssh) > the pemissions and owner in /dev/snd are changed to 0600 and the > logged-in user, respectively. I can't find where, or in what script, > this is done. I'd like to disable that behavio

[Alsa-user] One process per audio channel

2008-03-10 Thread John Sigler
Hello everyone, I have an RME AES-32 PCI board which provides 4 stereo input channels and 4 stereo output channels. (I'm using the hsdpm driver at this time.) I want to use one process per channel, i.e. process A handles stereo input #1 (on the XLR connector #1), process B handles stereo input

Re: [Alsa-user] RME AES-32 questions

2008-03-04 Thread John Sigler
Takashi Iwai wrote: > hdspm driver still doesn't support TLV dB information. > In addition, rme9652/hdsp/hdspm drivers use control elements in a > non-standard way for indirect accessing, so each mixer value isn't > visible in amixer or alsactl. Hello Takashi, Can you tell whether the hdspm driv

Re: [Alsa-user] RME AES-32 questions

2008-03-04 Thread John Sigler
James Courtier-Dutton wrote: > Some time ago, there was no way to tell, from user space, if 100% > or 50% was 0db, -50dB or +50dB. As a result, the safest value to > use was the minimum value being either 0% or mute. That has changed > with alsa 1.0.16, as dB gain information is now available. I'

Re: [Alsa-user] RME AES-32 questions

2008-03-04 Thread John Sigler
James Courtier-Dutton wrote: > John Sigler wrote: > >> I have an RME AES-32 PCI board. >> http://www.rme-audio.de/en_products_hdsp_aes32.php >> >> When I boot, every channel has its volume set to 0. >> >> http://lxr.linux.no/linux/sound/pci/rme9652/

Re: [Alsa-user] RME AES-32 questions

2008-03-03 Thread John Sigler
(I'll try answering some of my questions.) John Sigler wrote: > I have an RME AES-32 PCI board. > http://www.rme-audio.de/en_products_hdsp_aes32.php > > [...] > > When I boot, every channel has its volume set to 0. > Is this done by the board's firmware? http

Re: [Alsa-user] RME AES-32 questions

2008-02-29 Thread John Sigler
John Sigler wrote: I used amixer to change the volume. I've attached the output of amixer and amixer contents in case they are relevant. Regards. Simple mixer control 'Line Out',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mix

[Alsa-user] RME AES-32 questions

2008-02-29 Thread John Sigler
Hello, I have an RME AES-32 PCI board. http://www.rme-audio.de/en_products_hdsp_aes32.php I installed the main board only (not the daughter board) which gives me 8 mono in's and 8 mono out's (4 male + 4 female XLR connectors). My kernel is 2.6.22.1-rt9 (compiled from source). I have set the f