Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 2 'audioinjector-pi-soundcard' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 6755399441055744000
appl_ptr : 0
hw_ptr : 0
#######+ | 13%
~ $ amixer -c 2
Simple mixer control 'Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [6.00dB]
Front Right: Playback 127 [100%] [6.00dB]
Simple mixer control 'Master Playback ZC',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Sidetone',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 3 [100%] [-6.00dB]
Simple mixer control 'Line',0
Capabilities: cswitch
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 1
Mono: 1 [100%] [20.00dB]
Simple mixer control 'Playback Deemphasis',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [12.00dB]
Front Right: Capture 31 [100%] [12.00dB]
Simple mixer control 'ADC High Pass Filter',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Input Mux',0
Capabilities: enum
Items: 'Line In' 'Mic'
Item0: 'Line In'
Simple mixer control 'Output Mixer HiFi',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Output Mixer Line Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Output Mixer Mic Sidetone',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Store DC Offset',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
You can use arecord as a sound meter to see what sound you are capturing at the micSent from my iPhoneOn 8 Apr 2023, at 13:00, people-request@lists.audioinjector.net wrote:Hello all,I'm trying to setup a local icecast stream using a Raspberry PI CM4 installed on the Compute Module 4 IO Board with the AudioInjector Stero card installed.I think I've configured the card as outlined in github and I think I have darkice and icecast running properly because they are generating a stream, but there is no sound in the stream.I think the problem might be with the device I've configured as my source. Running aplay -L I get the following output:hw:CARD=audioinjectorpi,DEV=0audioinjector-pi-soundcard, AudioInjector audio wm8731-hifi-0Direct hardware device without any conversionsplughw:CARD=audioinjectorpi,DEV=0audioinjector-pi-soundcard, AudioInjector audio wm8731-hifi-0Hardware device with all software conversionssysdefault:CARD=audioinjectorpiaudioinjector-pi-soundcard, AudioInjector audio wm8731-hifi-0Default Audio Devicedmix:CARD=audioinjectorpi,DEV=0audioinjector-pi-soundcard, AudioInjector audio wm8731-hifi-0Direct sample mixing devicehw:CARD=vc4hdmi0,DEV=0vc4-hdmi-0, MAI PCM i2s-hifi-0Direct hardware device without any conversionsplughw:CARD=vc4hdmi0,DEV=0vc4-hdmi-0, MAI PCM i2s-hifi-0Hardware device with all software conversionssysdefault:CARD=vc4hdmi0vc4-hdmi-0, MAI PCM i2s-hifi-0Default Audio Devicehdmi:CARD=vc4hdmi0,DEV=0vc4-hdmi-0, MAI PCM i2s-hifi-0HDMI Audio Outputdmix:CARD=vc4hdmi0,DEV=0vc4-hdmi-0, MAI PCM i2s-hifi-0Direct sample mixing devicehw:CARD=vc4hdmi1,DEV=0vc4-hdmi-1, MAI PCM i2s-hifi-0Direct hardware device without any conversionsplughw:CARD=vc4hdmi1,DEV=0vc4-hdmi-1, MAI PCM i2s-hifi-0Hardware device with all software conversionssysdefault:CARD=vc4hdmi1vc4-hdmi-1, MAI PCM i2s-hifi-0Default Audio Devicehdmi:CARD=vc4hdmi1,DEV=0vc4-hdmi-1, MAI PCM i2s-hifi-0HDMI Audio Outputdmix:CARD=vc4hdmi1,DEV=0vc4-hdmi-1, MAI PCM i2s-hifi-0Direct sample mixing deviceI've tried using the following device options in my darkice config with no luck:hw:CARD=audioinjectorpi,DEV=0plughw:CARD=audioinjectorpi,DEV=0sysdefault:CARD=audioinjectorpiI've used a headphone line out from my phone and from a small amp (which is plugged into a pre-amp) using both the RCA and the headphone line in.Is one of those listed devices the right option, or is there something else I can do to test the problem?Thanks for any help!Phil Fox