Skip to content

How to set 32 bit per sample? #18

Answered by pschatzmann
constant-flow asked this question in Q&A
Discussion options

You must be logged in to vote

The output is configured by the information by the server, so if you set it to 32 bits it will be overwritten.

If you want resample on the client side to change the format from 16 to 32 bits, Just wrap the output class (e.g. I2SStream) with a FromatConverterStream or better a NumberFormatConverterStream and provide the converterstream as output class to the snap client. Don't forget to configure the converter class by defining the input and output format and the output format of i2s

Further info can be fund in the Wiki of the AudioTools.

Another option would be to change the format in the snapserver.conf. Then you will not have to change anything on the client side.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
2 replies
@constant-flow
Comment options

@constant-flow
Comment options

Comment options

You must be logged in to vote
2 replies
@constant-flow
Comment options

@constant-flow
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #17 on March 23, 2024 06:25.