Can't disable resampling with rec-send command line
Platform: Debian Bookworm Raspbian on Raspberry Pi 4B roc-toolkit Version: 0.4.0
Command: roc-send -vv -s rtp+rs8m:/ipaddress:10001 -r rs8m://ipaddress:10002 -c rtcp://ipaddress:10003 --rate=48000 -i alsa://input
The receiver is an OSX machine running roc-vod with input setup with command:
roc-vad device add receiver --device-rate 48000 --device-buffer 256ms --name "receiver"
Logs show that while it graps 48k audio from the source, it is transcoding to 44.1 before transmitting. Is it possible to explicitly disable resampling for roc-send?:
19:33:26.205 [1404] [dbg] roc_sndio: [sndfile_backend.cpp:20] sndfile backend: initializing
19:33:26.225 [1404] [dbg] roc_sndio: [backend_map.cpp:22] backend map: initializing: n_backends=4 n_drivers=109
19:33:26.226 [1404] [dbg] roc_core: [slab_pool_impl.cpp:63] slab pool (packet_pool): initializing: slot_size=720 prealloc_size=8(0 slots) min_slab=8(1 slots) max_slab=0(0 slots)
19:33:26.226 [1404] [dbg] roc_core: [slab_pool_impl.cpp:63] slab pool (packet_buffer_pool): initializing: slot_size=11632 prealloc_size=8(0 slots) min_slab=8(1 slots) max_slab=0(0 slots)
19:33:26.226 [1404] [dbg] roc_core: [slab_pool_impl.cpp:63] slab pool (frame_buffer_pool): initializing: slot_size=4144 prealloc_size=8(0 slots) min_slab=8(1 slots) max_slab=0(0 slots)
19:33:26.226 [1404] [dbg] roc_core: [slab_pool_impl.cpp:63] slab pool (encoding_pool): initializing: slot_size=288 prealloc_size=4608(16 slots) min_slab=4608(16 slots) max_slab=0(0 slots)
19:33:26.226 [1405] [dbg] roc_netio: [network_loop.cpp:277] network loop: starting event loop
19:33:26.226 [1404] [dbg] roc_node: [context.cpp:26] context: initializing
19:33:26.227 [1404] [inf] roc_sndio: [sox_source.cpp:79] sox source: opening: driver=alsa path=stereo_in9_10
19:33:26.227 [1406] [dbg] roc_ctl: [control_task_queue.cpp:95] control task queue: starting event loop
19:33:26.237 [1404] [inf] roc_sndio: [sox_source.cpp:400] sox source: opened: bits=32 rate=48000 req_rate=48000 chans=2 req_chans=2 is_file=0
19:33:26.237 [1404] [dbg] roc_core: [slab_pool_impl.cpp:63] slab pool (slot_pool): initializing: slot_size=1152 prealloc_size=8(0 slots) min_slab=8(1 slots) max_slab=0(0 slots)
19:33:26.237 [1404] [dbg] roc_node: [sender.cpp:32] sender node: initializing
19:33:26.237 [1404] [dbg] roc_node: [sender.cpp:72] sender node: configuring audiosrc interface of slot 0
19:33:26.237 [1404] [inf] roc_pipeline: [sender_sink.cpp:71] sender sink: adding slot
19:33:26.237 [1404] [dbg] roc_rtp: [identity.cpp:50] rtp identity: ssrc=193660329 cname=754dc9dd-84ba-47bf-b5e7-3271abaef46a
19:33:26.237 [1404] [inf] roc_node: [sender.cpp:119] sender node: connecting audiosrc interface of slot 0 to rtp+rs8m://192.168.1.54:10001
19:33:26.238 [1405] [dbg] roc_netio: [udp_port.cpp:127] udp port: <udp 0x7FA4000B88 bind=0.0.0.0:48909>: opened port
19:33:26.239 [1404] [inf] roc_node: [sender.cpp:199] sender node: bound audiosrc interface to 0.0.0.0:48909
19:33:26.239 [1405] [dbg] roc_netio: [network_loop.cpp:425] network loop: starting sending packets on port <udp 0x7FA4000B88 bind=0.0.0.0:48909>
19:33:26.241 [1404] [dbg] roc_pipeline: [sender_slot.cpp:55] sender slot: adding audiosrc endpoint rtp+rs8m
19:33:26.241 [1404] [dbg] roc_node: [sender.cpp:72] sender node: configuring audiorpr interface of slot 0
19:33:26.241 [1404] [inf] roc_node: [sender.cpp:119] sender node: connecting audiorpr interface of slot 0 to rs8m://192.168.1.54:10002
19:33:26.241 [1404] [dbg] roc_node: [sender.cpp:494] sender node: sharing audiosrc interface port with audiorpr interface
19:33:26.241 [1404] [dbg] roc_pipeline: [sender_slot.cpp:55] sender slot: adding audiorpr endpoint rs8m
19:33:26.241 [1404] [dbg] roc_fec: [openfec_encoder.cpp:27] openfec encoder: initializing: codec=rs m=8
19:33:26.241 [1404] [dbg] roc_fec: [writer.cpp:82] fec writer: update block size: cur_sbl=0 cur_rbl=0 new_sbl=18 new_rbl=10
19:33:26.242 [1404] [dbg] roc_audio: [packetizer.cpp:53] packetizer: initializing: packet_length=5.000ms samples_per_packet=221 payload_size=884 sample_spec=<sspec rate=44100 fmt=