syntax = "proto3";
package cmvr.config;

message FFMpegMicroPhoneConfig{
    reserved 5;

    string id = 1;
    int32 channels = 2;
    int32 sampleRate = 3;
    int32 volume = 4;
    string input_device = 6;
}

message MicrophoneDeviceConfig {
    string id = 1;
    reserved 2;

    oneof backend {
        FFMpegMicroPhoneConfig ffmpeg = 10;
    }
}

message MicroPhoneConfig{
    repeated MicrophoneDeviceConfig microphones = 1;
}

message MicroPhoneRootConfig {
    MicroPhoneConfig microphone = 1;
}
