• Eric Wong's avatar
    audio: malloc reductions · eb537f84
    Eric Wong authored
    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
    eb537f84
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...