Yves wrote:
> pcm.audinp {
> type file
> slave.pcm "hw:0,0"
> file /dev/null
> infile /home/user/virtualmic.pipe
> format "raw"
> }
> pcm.!default {
> type plug
> slave.pcm "audinp"
> }
>
> virtualmic.pipe is a named pipe.
> I can cat a
Hello
I need to create a "virtual microphone" for some tests of systems using
alsa. The application that is tested is only able to use "default" devices.
I created this .asoundrc file
pcm.audinp {
type file
slave.pcm "hw:0,0"
file /dev/null
infile /home/
On Dec 21, 2007 10:58 PM, Carlos Hernandez <[EMAIL PROTECTED]> wrote:
> I know... and that's the reason why I can specify that, using the asound.conf.
>
aplay and arecord are not aware of those parameters in asound.conf.
They just see a stream of 1s and 0s. You have to tell them how to
interpret
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 Dec 2007, Carlos Hernandez wr
On Sat, 22 Dec 2007, Carlos Hernandez wrote:
> well... I really want to use another application(mp4live)... not arecord.
>
> So this application just ask me for : "sample rate", "channels" and
> what Alsa device to use.
Except that mp4live does not use alsa, it uses oss if I read the data right
well... I really want to use another application(mp4live)... not arecord.
So this application just ask me for : "sample rate", "channels" and
what Alsa device to use.
I've tell it "plugfile" device, 44100 as sample rate, and stereo(2
channels). As you can see I cannot specify the format.
When I
On Sat, 22 Dec 2007, Carlos Hernandez wrote:
> I know... and that's the reason why I can specify that, using the asound.conf.
>
> The source audio file is in 16 bit, 44100, stereo... but when I
> record with arecord, it does with 8bit, 8k, mono.
>
> So I must change this before arecord "record" t
I know... and that's the reason why I can specify that, using the asound.conf.
The source audio file is in 16 bit, 44100, stereo... but when I
record with arecord, it does with 8bit, 8k, mono.
So I must change this before arecord "record" the audio... where? .. I
suppose this should be in asound
On Dec 21, 2007 9:39 PM, Carlos Hernandez <[EMAIL PROTECTED]> wrote:
> Here the "format", "rate" and "channels" are set up, and these are the
> same as the original audio file. Then I suppose I would not have to
> specify these parameters with arecord.
> running arecord:
>
> [EMAIL PROTECTED]:~$ a
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 {
Wrong format of your audio file? Do you know what your application expects?
Kindest regards
Julien
Music was my first love and it will be my last (John Miles)
FIND MY WEB-PROJECT AT:
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
=== AND MY PE
I dont want to use aplay or arecord.
I got mp4live (as file player), and want to read audio with this application.
I've passed the param "infile:/home/carlos/record.raw"
The problem is that mp4live shows an error:
mp4live: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
Abor
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?...
This works:
pcm.infile {
@args [ FILE ]
@args.FILE {
type string
}
type file
slave {
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
14 matches
Mail list logo