Skip to content

Conversation

SvenKube
Copy link
Contributor

@SvenKube SvenKube commented Oct 1, 2025

Sending audiosocket messages of type AST_AUDIOSOCKET_KIND_AUDIO_SLIN16 (0x11) creates Asterisk frames in the slin16 format, enabling the transmission of audio at a higher sample rate. For audiosocket messages sent by Asterisk, the message kind is determined by the format of the originating Asterisk frame.

UpgradeNote: A new audiosocket message type (0x11) has been added for slin16 audio. External applications using audiosocket may need to be updated to support this message type if the audiosocket channel is created with slin16 as the codec.

Sending audiosocket messages of type AST_AUDIOSOCKET_KIND_AUDIO_SLIN16
(0x11) creates Asterisk frames in the slin16 format, enabling the
transmission of audio at a higher sample rate. For audiosocket messages
sent by Asterisk, the message kind is determined by the format of the
originating Asterisk frame.

UpgradeNote: A new audiosocket message type (0x11) has been added for
slin16 audio. External applications using audiosocket may need to be
updated to support this message type if the audiosocket channel is
created with slin16 as the codec.
@SvenKube
Copy link
Contributor Author

SvenKube commented Oct 1, 2025

cherry-pick-to: 23
cherry-pick-to: 22
cherry-pick-to: 21
cherry-pick-to: 20

github-actions[bot]

This comment was marked as resolved.

@github-actions github-actions bot added the has-pr-checklist A PR Checklist is present on the PR label Oct 1, 2025
Copy link

github-actions bot commented Oct 1, 2025

Workflow PRCheck completed successfully

@seanbright
Copy link
Contributor

It might be more flexible to include the sample rate in kHz in the message payload (1 byte should be enough?), then you could send any signed-linear data regardless of rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants