mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	* fix include file names in installed header files
* add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									9a01cf44f0
								
							
						
					
					
						commit
						e02be6c15b
					
				
					 58 changed files with 971 additions and 169 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,7 @@
 | 
			
		|||
#include "log.h"
 | 
			
		||||
 | 
			
		||||
#define BUF_SIZE (1024*10)
 | 
			
		||||
#define PA_TYPEID_SOUND_FILE PA_TYPEID_MAKE('S', 'N', 'D', 'F')
 | 
			
		||||
 | 
			
		||||
struct userdata {
 | 
			
		||||
    SNDFILE *sndfile;
 | 
			
		||||
| 
						 | 
				
			
			@ -160,7 +161,7 @@ int pa_play_file(struct pa_sink *sink, const char *fname, pa_volume_t volume) {
 | 
			
		|||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    if (!(u->sink_input = pa_sink_input_new(sink, fname, &ss, 0, -1)))
 | 
			
		||||
    if (!(u->sink_input = pa_sink_input_new(sink, PA_TYPEID_SOUND_FILE, fname, &ss, 0, -1)))
 | 
			
		||||
        goto fail;
 | 
			
		||||
 | 
			
		||||
    u->sink_input->volume = volume;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue