You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Monitor Line In and send stream start, if enabled #133
Thanks for the original source role PRs that were the basis for what's actually now in sendspin-cpp!
Per the spec's roles/source/v1.md “Default streaming behavior”, only the server starts a source stream. The client’s part is line sensing: report signal in client/state, and the server may use it to send start. The current sendspin-cpp source role implementation (which was merged after this issue, to be fair) supports this via SourceRoleConfig::line_sense + SourceRole::set_signal(). Detection should stay in the app (on ESPHome, e.g. sound_level → threshold with delayed_on: 100ms → set_signal()). Sendspin/sendspin-cpp#201 · Add an RMS line-sense option to… documents this and adds a reference meter to examples/source_client.
Activity
Add an RMS line-sense option to the source client example (#201)
kahrendt commentedon Oct 12, 2026
Thanks for the original source role PRs that were the basis for what's actually now in sendspin-cpp!
Per the spec's roles/source/v1.md “Default streaming behavior”, only the server starts a source stream. The client’s part is line sensing: report signal in
client/state, and the server may use it to send start. The current sendspin-cpp source role implementation (which was merged after this issue, to be fair) supports this viaSourceRoleConfig::line_sense+SourceRole::set_signal(). Detection should stay in the app (on ESPHome, e.g.sound_level→ threshold withdelayed_on: 100ms→set_signal()). Sendspin/sendspin-cpp#201 · Add an RMS line-sense option to… documents this and adds a reference meter to examples/source_client.