Re: EsounD: patch for Mac OS X coreaudio device selection



On Fri, 2007-09-07 at 19:44 -0400, Ojas Parekh wrote:
> I've included a patch to audio_coreaudio.c that allows coreaudio  
> device specification, e.g.:
> 
> [dbook: /tmp]$ esd -d "Built-in Input"
> - using device Built-in Input
> using device Soundflower (2ch) for output:
>          with sample rate 44100.000000, 2 channels and 32-bit sample
> using device Built-in Input for input:
>          with sample rate 44100.000000, 2 channels and 32-bit sample
> 
> A complication is that a specified device may not have both input and  
> output capabilities, in which case the driver resorts to the default  
> input or output device.  In the above example, "Built-in Input" does  
> not have any output channels, so the driver selected "Soundflower  
> (2ch)," which is the default output device on my system, for output.

Could you please open a bug in the GNOME bugzilla, and attach your
patch? Seems quite useful.

-- 
Bastien Nocera <hadess hadess net> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]