[Alsa-user] Format used by loopback module

2008-01-31 Thread Carlos Hernandez
Hi Can someone tell me what frequency and bits is used by this module internally? I mean, I'm sending audio to this loopback, but I'm not sure if it is doing some resample or something... thanks - This SF.net email is spons

[Alsa-user] inaccurate sound using snd-aloop module

2008-01-25 Thread Carlos Hernandez
Hi list, I'm currently using the snd-aloop module to communicate 2 application sharing audio. hw:0 real sound card hw:1 loopback card I can send audio from one of them to hw:1,0, and then reads the audio using the second application from hw:1,1. It works, but with no accurate behavior. The audi

[Alsa-user] audio-detection

2008-01-23 Thread Carlos Hernandez
Hi list.. is there any alsa-application that can be used to detect a certain level of audio and then do something?... I mean, a kind of "peek detector", some like motion-detection but in audio using alsa... thanks - This SF

[Alsa-user] 2 loopback device

2008-01-07 Thread Carlos Hernandez
Hello list, I got a loopback device by doing "modproble snd-aloop". I can send audio to "hw:1,0" and the reads that audio from "hw:1,1" successful. But now, I need a second loopback device. How can I up that second device? I mean, I would like to get something like "hw:2,0", "hw:2,1", etc... d

[Alsa-user] Default loopback device

2008-01-05 Thread Carlos Hernandez
Hi list, Im trying to send data from one application to the alsa loopback device. What is the default device of loopback?.. .I mean, I can select only one of these (in a particular application): "Default" "loopback" "Hda Intel" As my Hda-Intel is card 0, "default" device is pointed to "hw:0,0".

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
Last version come with Alsa support (configure with --enable-mp4live-alsa) ALSAaudio_alsa_source.cpp in fact I've used Alsa, and it works perfect using "default" device. But file device doesnt :( On 22/12/2007, Bill Unruh <[EMAIL PROTECTED]> wrote: > On Sat, 22 De

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
cannot specify the format. When I run mp4live it says: mp4live: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed. I dont know what to do. Thanks On 22/12/2007, Bill Unruh <[EMAIL PROTECTED]> wrote: > On Sat, 22 Dec 2007, Carlos Hernandez wrote: > >

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
rate 44100 } } but this does not work... thanks anyway On 22/12/2007, Lee Revell <[EMAIL PROTECTED]> wrote: > On Dec 21, 2007 9:39 PM, Carlos Hernandez <[EMAIL PROTECTED]> wrote: > > Here the "format", "rate" and "channels" are set up, and th

[Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
Hi list I've asked help before about file plugin, and it does work fine. But I need something more. The raw file from which I'm reading audio is: Signed 16 bit Little Endian, 44100 hz, 2 channels. I've configured asound.conf this way: pcm.plugfile{ type plug slave {

Re: [Alsa-user] File Plugin

2007-12-18 Thread Carlos Hernandez
rr >= 0' failed. Aborted (core dumped) any idea? On 18/12/2007, Rene Herman <[EMAIL PROTECTED]> wrote: > On 18-12-07 05:32, Carlos Hernandez wrote: > > > Can someone tell me how to correctly configure the file plugin to read > > audio from a file?... > >

[Alsa-user] File Plugin

2007-12-17 Thread Carlos Hernandez
I've spend so many days trying to make the file plugin to work. I've read the pcm_plugins documentation and Everything everywhere, but no luck.. here is my asound.conf pcm.player { type plug slave {pcm "fileplayer"} } pcm.fileplayer { type file slave null infile "/ho

[Alsa-user] Select a Virtual device

2007-12-13 Thread Carlos Hernandez
Hi list, I've modified the "asound.conf" file to adjust some things I need. In particular, I want to send audio from one application to another, using the file plugin from alsa. in the configuration file-->cat asound.conf... pcm.audioplayer{ type file slave null infile /home/carlos/

[Alsa-user] Loopback device

2007-11-14 Thread Carlos Hernandez
Looking everywhere I cant find an answer. I got 2 applications, I want first app send the audio to the second app. One of them is sending audio to the "Loopback" device(This app ask me for the output device, I'd selected it). The another app ask me for a output device like: type: ALSA

Re: [Alsa-user] Send a *.wav into a input device

2007-11-05 Thread Carlos Hernandez
Loopback device appears to be my solution. great... it's exactly what I need (appears) beacause I got 2 applications, one sending audio to the default audio device and another that need that audio to read. But a new confusion come to my head... The first application is sending the audio

Re: [Alsa-user] Send a *.wav into a input device

2007-11-04 Thread Carlos Hernandez
o mp4live. The question is: is there any way to send the audio from this "file.wav" to an ALSA o OSS device and thus read the data with mp4live from this device? ... Hope u can understand me now... thanks... On 04/11/2007, Bill Unruh <[EMAIL PROTECTED]> wrote: > > On Su

[Alsa-user] Send a *.wav into a input device

2007-11-03 Thread Carlos Hernandez
I was looking for this everywhere to find a solution... no luck... Hope u can help me.. I got an application that only can read audio from an ALSA input device (like a mic input in a sound card commonly), but the problem I have is that the audio I got is in a raw .wav file. it's possible to use so