AudioStream: Clarify thread-safe usage of stream flags
This commit is contained in:
		
							parent
							
								
									8d7166f3d2
								
							
						
					
					
						commit
						7260c467b8
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -55,7 +55,10 @@ struct AudioStream
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Note that 'extPaused' and 'noResumeStop' are
 | 
						/* Note that 'extPaused' and 'noResumeStop' are
 | 
				
			||||||
	 * effectively only used with the AudioStream
 | 
						 * effectively only used with the AudioStream
 | 
				
			||||||
	 * instance representing the BGM */
 | 
						 * instance representing the BGM.
 | 
				
			||||||
 | 
						 * They are not AtomicFlags because they're regarded
 | 
				
			||||||
 | 
						 * as part of the underlying stream state, and
 | 
				
			||||||
 | 
						 * always accessed with the stream lock held */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Flag indicating that the MeWatch paused this
 | 
						/* Flag indicating that the MeWatch paused this
 | 
				
			||||||
	 * (BGM) stream because a ME started playing.
 | 
						 * (BGM) stream because a ME started playing.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue