[MPlayer-users] mplayer and alsa-plugins

Stephen Stocker lpar at par1.net
Tue Feb 3 03:49:06 CET 2004


>Hi all!
>  First: I'm not in the list so please,if you reply send a copy to:
>  julien at c-lab.de
>  I tried to get a raw (44.1KHz, stereo, 16BIT) stream to disk. For that
>purpose I defined a plugin in .asoundrc like that:
>
>pcm.myfile {
>  type file
>  slave {
>    pcm "hw:0,0"
>  }
>}
>  Then I tried:
>  mplayer -ao alsa9:myfile test.wav
>  And got:
<snip>

  Hi,

 Try it like this:

 pcm.myfile {
  type file
  slave {
    pcm "hw:0,0"
  }
  file test.raw
}

  In other words, just adding a file name in .asoundrc for your .raw
  file. Hope this helps!

  Take care,
  Steve




More information about the MPlayer-users mailing list