[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: running arecord via ssh

On Thu, 17 May 2018, David Margerison wrote:

Details matter. Do not ever deliberately omit details.
unless you *know* they are not relevant.

  I thought that the details were not so useful, but here they are, if
  you think they may help to find the answer:

  1/ setting the line input of the sound card as input:

    amixer -c 1 set Master,0 playback unmute 75%,75%
    amixer -c 1 set Line,0 75%,75% mute cap
    amixer -c 1 set Capture,0 75%,75% unmute cap

    this works in all cases, i.e. I actually hear the sound  coming from
    the line input

  2/ running arecord

    arecord -d 10 -f cd -t wav tst.wav

    this gives an empty file when run in a ssh window

NB: I also tried "xterm -e ssh mydesktop" instead of "ssh mydesktop"
    with the same result (empty file)

best regards,
Pierre Frenkiel

Reply to: