You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: player.rs
    path of file: ./repos/MirrorX/mirrorx_core/src/component/audio
    
    the code of the file until where you have to start completion: use crate::{core_error, error::CoreResult};
use cpal::{
    traits::{DeviceTrait, HostTrait},
    SampleFormat, SampleRate, SizedSample, Stream, StreamConfig, SupportedStreamConfig,
};
use tokio::sync::mpsc::{Receiver, Sender};

pub fn default_output_config() -> CoreResult<SupportedStreamConfig> {
 
    
pub fn default_output_config() -> CoreResult<SupportedStreamConfig> {
    let host = cpal::default_host();

    let device = match host.default_output_device() {
        Some(device) => device,
        None => {
            return Err(core_error!("default audio output device not exist"));
        }
    };
    tracing::info!(name = ?device.name(), "select audio output device");

    Ok(device.default_output_config()?)
}