-
Notifications
You must be signed in to change notification settings - Fork 469
Closed
Description
It has always seemed a little odd to me to include the sample rate within the stream's "format" type. Fields like channels and interleaved make sense as these describe the arrangement/layout of the streams' buffers, but sample rate seems a little out of place in a Format type.
Some other more general/flexible names that come to mind:
StreamParams/ParametersIt seems PortAudio use this.StreamDesc/DescriptionStreamConfig/Configuration
I quite like StreamParams and StreamConfig.
These more general names might also make more sense for potential future fields like desired_buffer_len or others we haven't considered just yet.
Perhaps we could keep StreamFormat around for grouping the channels and interleaved (#367) fields, and have StreamFormat as a field within StreamParams/StreamConfig?
Metadata
Metadata
Assignees
Labels
No labels