I dont know how to ask linux nicely, but this is what i am getting:
a couple of problems here:
$ sox -t alsa plughw:0,1 -b 16 -r 192000 -t flac -r 192000 -b 16 - | pv | nc IP 5555
Input File : 'plughw:0,1' (alsa)
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] Clip:0 sox WARN alsa: Input/output error ]
sox FAIL sox: `plughw:0,1' Device or resource busy: Operation not permitted
In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] Clip:0
Done.
0B 0:00:10 [ 0B/s] [<=>
0,1 = Asus Xonar D1 digital audio capture
1. alsa alows me only 48k ?
2. on another linux host under vmware sending works partialy,but only with 48k settings and it breaks after a while... ?
in this case 0,0 = VAC
@UbuntuVM1:~$ sox -t alsa plughw:0,0 -b 16 -r 48000 -t flac -r 48000 -b 16 - | pv | nc IP 5555
Input File : 'plughw:0,0' (alsa)
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
In:0.00% 00:00:00.85 [00:00:00.00] Out:36.9k [ | ] Clip:0 In:0.00% 00:00:01.88 [00:00:00.00] Out:86.0k [ | ] Clip:0 In:0.00% 00:00:03.07 [00:00:00.00] Out:143k [ | ] Clip:0 In:0.00% 00:00:04.10 [00:00:00.00] Out:193k [ | ] Clip:0 In:0.00% 00:00:05.12 [00:00:00.00] Out:242k [ | ] Clip:0 In:0.00% 00:00:06.14 [00:00:00.00] Out:291k [ | ] Clip:0 In:0.00% 00:00:07.17 [00:00:00.00] Out:340k [ | ] Clip:0 In:0.00% 00:00:08.19 [00:00:00.00] Out:389k [ | ] Clip:0 In:0.00% 00:00:09.22 [00:00:00.00] Out:438k [ | ] Clip:0 In:0.00% 00:00:10.24 [00:00:00.00] Out:487k [ | ] Clip:0 In:0.00% 00:00:11.26 [00:00:00.00] Out:537k [ | ] Clip:0 In:0.00% 00:00:12.46 [00:00:00.00] Out:594k [ | ] Clip:0 In:0.00% 00:00:13.48 [00:00:00.00] Out:643k [ | ] Clip:0 In:0.00% 00:00:14.51 [00:00:00.00] Out:692k [ | ] Clip:0 In:0.00% 00:00:15.53 [00:00:00.00] Out:741k [ | ] Clip:0 In:0.00% 00:00:16.55 [00:00:00.00] Out:791k [ | ] Clip:0 In:0.00% 00:00:17.58 [00:00:00.00] Out:840k [ | ] Clip:0 In:0.00% 00:00:18.60 [00:00:00.00] Out:889k [ | ] Clip:0 In:0.00% 00:00:19.63 [00:00:00.00] Out:938k [ | ] Clip:0 In:0.00% 00:00:20.82 [00:00:00.00] Out:995k [ | ] Clip:0 In:0.00% 00:00:21.76 [00:00:00.00] Out:1.04M [ | ] Clip:0 In:0.00% 00:00:22.78 [00:00:00.00] Out:1.09M [ | ] Clip:0 In:0.00% 00:00:23.47 [00:00:00.00] Out:1.12M [ | ] Clip:0 0B 0:00:22 [ 0B/s] [<=> ]
In:0.00% 00:00:46.85 [00:00:00.00] Out:2.24M [ | ] Clip:0 @UbuntuVM1:~$
I am using Ubuntu 13.10 and flac 1.3.1
3. netcat syntax is different. Could you assist on the command line for the reciever side please?
Kind Regards.