|
|
@ -38,11 +38,11 @@ auto AudioPlayback::create(drivers::GpioExpander* expander, |
|
|
|
playback->ConnectElements(codec.get(), sink.get()); |
|
|
|
playback->ConnectElements(codec.get(), sink.get()); |
|
|
|
|
|
|
|
|
|
|
|
// Launch!
|
|
|
|
// Launch!
|
|
|
|
/*
|
|
|
|
|
|
|
|
playback->element_handles_.push_back(StartAudioTask("src", source)); |
|
|
|
playback->element_handles_.push_back(StartAudioTask("src", source)); |
|
|
|
playback->element_handles_.push_back(StartAudioTask("dec", codec)); |
|
|
|
playback->element_handles_.push_back(StartAudioTask("dec", codec)); |
|
|
|
playback->element_handles_.push_back(StartAudioTask("sink", sink)); |
|
|
|
playback->element_handles_.push_back(StartAudioTask("sink", sink)); |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
playback->input_handle_ = source->InputEventQueue(); |
|
|
|
|
|
|
|
|
|
|
|
return playback; |
|
|
|
return playback; |
|
|
|
} |
|
|
|
} |
|
|
|