Skip to content
Discussion options

You must be logged in to vote

Hello, I'm trying to implement a custom Host, to field-test my new library azo.

Cool, what are your project goals?

  1. When building streams, the config param includes a channel count, but no information on which channels should be used. does this mean i should always use the first n channels? e.g. StreamConfig.channels = 4 effectively meaning 0..4 ?

Yeah, channels = N means the first N channels in whatever order the driver reports. There's no channel-map field on StreamConfig (not yet, anyway).

  1. It seems cpal has no notion of stream data endianness, is this simply left to the user to take care of in the data callback? should I restrict stream formats to native endianness?

Samples ar…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@LastExceed
Comment options

@roderickvd
Comment options

@LastExceed
Comment options

@roderickvd
Comment options

@LastExceed
Comment options

Answer selected by LastExceed
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