output/Control: move pipe initialization to the OutputThread
Un-protect the SharedPipeConsumer instance, and make it available in the OutputThread only. This gives more well-defined mutex protection.
This commit is contained in:
@@ -256,6 +256,11 @@ struct AudioOutput {
|
||||
* The #AudioFormat requested by #Command::OPEN.
|
||||
*/
|
||||
AudioFormat audio_format;
|
||||
|
||||
/**
|
||||
* The #MusicPipe passed to #Command::OPEN.
|
||||
*/
|
||||
const MusicPipe *pipe;
|
||||
} request;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user