Keep adding irrelevant stuff
This commit is contained in:
@@ -17,10 +17,12 @@ pub struct TermixAudioBackend {}
|
|||||||
#[tonic::async_trait]
|
#[tonic::async_trait]
|
||||||
impl AudioBackend for TermixAudioBackend {
|
impl AudioBackend for TermixAudioBackend {
|
||||||
async fn start_client(&self,request:tonic::Request<()>,) -> std::result::Result<tonic::Response<()>,tonic::Status> {
|
async fn start_client(&self,request:tonic::Request<()>,) -> std::result::Result<tonic::Response<()>,tonic::Status> {
|
||||||
|
info!("starting the audio backend client");
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn init_connection(&self,request:tonic::Request<()>,) -> std::result::Result<tonic::Response<()>,tonic::Status> {
|
async fn init_connection(&self,request:tonic::Request<()>,) -> std::result::Result<tonic::Response<()>,tonic::Status> {
|
||||||
|
info!("initializing the connection to the audio backend");
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -29,7 +31,7 @@ impl AudioBackend for TermixAudioBackend {
|
|||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
env_logger::init();
|
env_logger::init();
|
||||||
let args = Args::parse();
|
let args = Args::parse();
|
||||||
info!("starting the grpc server on port {:?}", args.grpc_port);
|
info!("starting the grpc server on port {}", args.grpc_port);
|
||||||
|
|
||||||
let addr = "[::1]:50051".parse()?;
|
let addr = "[::1]:50051".parse()?;
|
||||||
let greeter = TermixAudioBackend::default();
|
let greeter = TermixAudioBackend::default();
|
||||||
|
|||||||
Reference in New Issue
Block a user