squeezelite icon indicating copy to clipboard operation
squeezelite copied to clipboard

Feature Request - sending raw pcm without header

Open audiofool opened this issue 8 months ago • 2 comments

I have a complicated workflow which includes upsampling. I use the -W option to read the upsampled wav header instead of from the server. -W works but I have run into issues where some software won't send to a pipe or sends the wrong wav header length, etc. I always send the same upsampled rate and would like to simply send the the raw upsampled pcm to squeezelite and simplify my workflow. Would it be possible to add an option for this? For example -J 384000:32 (rate:bits) or maybe add to the -W option ie. (-W 384000:32)

Thanks again

audiofool avatar Mar 14 '26 01:03 audiofool

I have a complicated workflow which includes upsampling. I use the -W option to read the upsampled wav header instead of from the server. -W works but I have run into issues where some software won't send to a pipe or sends the wrong wav header length, etc. I always send the same upsampled rate and would like to simply send the the raw upsampled pcm to squeezelite and simplify my workflow. Would it be possible to add an option for this? For example -J 384000:32 (rate:bits) or maybe add to the -W option ie. (-W 384000:32)

Thanks again

To be safe, you need to add every PCM format parameter, including the number of channels, signature and endianess.

marcoc1712 avatar Mar 14 '26 12:03 marcoc1712

I have a complicated workflow which includes upsampling. I use the -W option to read the upsampled wav header instead of from the server. -W works but I have run into issues where some software won't send to a pipe or sends the wrong wav header length, etc. I always send the same upsampled rate and would like to simply send the the raw upsampled pcm to squeezelite and simplify my workflow. Would it be possible to add an option for this? For example -J 384000:32 (rate:bits) or maybe add to the -W option ie. (-W 384000:32) Thanks again

To be safe, you need to add every PCM format parameter, including the number of channels, signature and endianess.

Also, as referenced in my other feature request, --subformat=MSBITS_MAX / STD seems to make a difference on some dacs even when using S32LE (maybe buggy xmos code in the dac?).

audiofool avatar Mar 16 '26 18:03 audiofool