[style](trx-core): format rig trait signatures
Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -75,7 +75,10 @@ pub trait AudioSource: Send + Sync {
|
|||||||
|
|
||||||
/// Subscribe to PCM from a specific backend channel when available.
|
/// Subscribe to PCM from a specific backend channel when available.
|
||||||
/// Channel `0` is always the primary channel.
|
/// Channel `0` is always the primary channel.
|
||||||
fn subscribe_pcm_channel(&self, channel_idx: usize) -> tokio::sync::broadcast::Receiver<Vec<f32>> {
|
fn subscribe_pcm_channel(
|
||||||
|
&self,
|
||||||
|
channel_idx: usize,
|
||||||
|
) -> tokio::sync::broadcast::Receiver<Vec<f32>> {
|
||||||
if channel_idx == 0 {
|
if channel_idx == 0 {
|
||||||
self.subscribe_pcm()
|
self.subscribe_pcm()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user