diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-08-12 18:20:55 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-08-12 18:20:55 +0000 |
commit | 0511e14db09698c9665a2c8fe299235f1242d9ea (patch) | |
tree | 27d880bc5a5776318a0715561ccd67917a51c52d /src/playlist.c | |
parent | b5361f7789e560701b333bf27a2768c0a58c7576 (diff) | |
download | mpd-0511e14db09698c9665a2c8fe299235f1242d9ea.tar.gz mpd-0511e14db09698c9665a2c8fe299235f1242d9ea.tar.xz mpd-0511e14db09698c9665a2c8fe299235f1242d9ea.zip |
audioOutput_alsa.c: avoid changing our internal period and buffer time values
Passing a ref to snd_pcm_hw_params_set_{buffer,period}_time_near
can modify our internal {period,buffer}_time members inside the
AlsaData structure, making re-initializing the device across
sample/bit rate and channel changes non-idempotent.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4616 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.c')
0 files changed, 0 insertions, 0 deletions