aboutsummaryrefslogtreecommitdiffstats
path: root/src/charConv.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-08-01 10:07:16 +0000
committerEric Wong <normalperson@yhbt.net>2006-08-01 10:07:16 +0000
commiteb537f84f1ebcd508fded4f1a319a0da146a7fc4 (patch)
treebfa2ca32d530d175dc5ffe3a8acdba10a10d6550 /src/charConv.c
parentb0965c317babb7d25b3d42241788661b94c59fa2 (diff)
downloadmpd-eb537f84f1ebcd508fded4f1a319a0da146a7fc4.tar.gz
mpd-eb537f84f1ebcd508fded4f1a319a0da146a7fc4.tar.xz
mpd-eb537f84f1ebcd508fded4f1a319a0da146a7fc4.zip
audio: malloc reductions
Just malloc all of the audioOutput array in one shot to avoid fragmentation and to improve cache locality when iterating through the array. We also know name and type members of the AudioOutput struct won't change in the config, so there's no need to strdup them. newAudioOutput => initAudioOutput git-svn-id: https://svn.musicpd.org/mpd/trunk@4515 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/charConv.c')
0 files changed, 0 insertions, 0 deletions