~taiite/poyo#1: 
Sample rate and buffer size negotiation

Best we can do with cpal and alsa being overly open on what it accepts vs wasapi which can reject stream configs is:

  1. negotiate 48 kHz, low latency
  2. if it fails, probe supported configurations and pick one

TODO:

  • ^this mechanism
  • way to sort the available configurations to pick the "best" one
  • ability to reset the audio stream on the network side (send terminator bit + reset opus encoder state if necessary)
Status
RESOLVED IMPLEMENTED
Submitter
~taiite
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
1 year, 1 month ago
Labels
No labels applied.

~taiite REPORTED IMPLEMENTED 1 year, 1 month ago

first 2 points of the todo list done in https://git.sr.ht/~taiite/poyo/commit/5eec78565b2ac6474617b14f8bcaead6fc6e77cf

third is left for another time. idk if buffer re-negotiation is a thing

Register here or Log in to comment, or comment via email.