I'm against adding any cargo cult stuff like this and would rather see someone who knows aucat and the audio stuff figure out why it skips and clicks like mad. I doubt it's mpds fault.
But that's probably not going to happen... Oh well. Commit it if you really have to. On Mon, Oct 04, 2010 at 01:21:57PM +0100, Stuart Henderson wrote: > On 2010/10/04 14:07, Jasper Lievisse Adriaanse wrote: > > On Mon, Oct 04, 2010 at 02:00:06PM +0200, David Coppa wrote: > > > On Mon, 04 Oct 2010, Jasper Lievisse Adriaanse wrote: > > > > > > > On Mon, Oct 04, 2010 at 10:35:11AM +0200, David Coppa wrote: > > > > > Since I've spent quite a lot of time to figure out why mpd was > > > > > skipping so badly on my X41, I'd like to have the following diff > > > > > committed (for posterity ;)). > > > > > That was because auich(4) has a sampling rate of 48000Hz instead > > > > > of the default 44100 most cards have (infact I run aucat with > > > > > "-r 48000"). Comments or suggestions are welcome... > > this varies depending on the codec; my older thinkpad supports a wider > range of sample rates on auich. > > > > > No, please put that blurb in the mpd.conf patch, instead of poluting > > > > MESSAGE. > > > > > > What about this? > > No, that's confusing, please put "Defaults to:" between the two > > audio_output_format lines and this is OK with me. > > that's not the default; default is to perform no sample rate > conversion: > > .B audio_output_format <sample_rate:bits:channels> > This specifies the sample rate, bits per sample, and number of channels of > audio that is sent to each audio output. Note that audio outputs may specify > their own audio format which will be used for actual output to the audio > device. An example is "44100:16:2" for 44100Hz, 16 bits, and 2 channels. The > default is to use the audio format of the input file. > > > > ++# If mpd skips a lot during playback, adjust this setting to reflect > > > the > > > ++# sound card's sampling rate. > > > ++# For example: > > this text is good, > > > > ++# audio_output_format "48000:16:2" > > > + # > > > + #audio_output_format "44100:16:2" > > I would either just leave the 44K1 example, or just change it to the > 48K example, rather than leave both in. >