Christian Weisgerber
2001-Jun-30 07:09 UTC
[vorbis-dev] libao: src/plugins/arts/Makefile.am
Clobbering CFLAGS is not nice. --- src/plugins/arts/Makefile.am.orig Sat Dec 30 06:03:25 2000 +++ src/plugins/arts/Makefile.am Wed Apr 11 00:40:35 2001 @@ -16,13 +17,12 @@ artssources endif -INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include +INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include @ARTS_CFLAGS@ libdir = $(plugindir) lib_LTLIBRARIES = $(artsltlibs) libarts_la_LDFLAGS = $(artsldflags) -CFLAGS = @ARTS_CFLAGS@ libarts_la_LIBADD = @ARTS_LIBS@ libarts_la_SOURCES = $(artssources) -- Christian "naddy" Weisgerber naddy@mips.inka.de --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Firelight Multimedia
2001-Jun-30 16:31 UTC
[vorbis-dev] ogg vorbis dynamic memory allocation.
Hi, I finally got around to overriding ogg_malloc etc and running through my memory manager. Thinking of limited memory consoles like PS2, I was somewhat alarmed at what I found .. Admittedly I am using vorbisfile but that’s because its so easy to use :) .. Per ogg file my memory manager is telling me it is using 885,201 bytes per file (I thought I would maybe get a constant overhead and lower overhead per file but its 885k each time). Ov_read reads 17k at a time in my streamer, and reducing it (to say 7k) made no difference. Is there a way to get this right down? Remove vorbisfile I assume is the first thing (though I am loathe to do right now due to the extra complexity involved). Mp3 currently uses about 32k of different buffers per file which is extremely efficient memory usage for consoles, is there any way vorbis might be able to get this low? I havent had a look at static usage yet, id have to take a look at the map file for that. Any ideas or comments appreciated. Cheers Brett Paterson Firelight Multimedia FMOD SoundSystem http://www.fmod.org --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Segher Boessenkool
2001-Jul-01 04:10 UTC
[vorbis-dev] ogg vorbis dynamic memory allocation.
Firelight Multimedia wrote:> > Hi, > I finally got around to overriding ogg_malloc etc and running through my > memory manager. Thinking of limited memory consoles like PS2, I wasHow much RAM does a PSX2 have?> somewhat alarmed at what I found .. Admittedly I am using vorbisfile but > that’s because its so easy to use :) ..Vorbisfile shouldn't be a big overhead over straight libogg/libvorbis; if it is, it's time we do something about it.> Per ogg file my memory manager is telling me it is using 885,201 bytes > per file (I thought I would maybe get a constant overhead and lower > overhead per file but its 885k each time).That's way too much, I think... you might forget to free memory? If you've overridden alloca() as well, you need to free that memeory at function exit of the function that did the alloca() (or per C block, even).> Ov_read reads 17k at a time in my streamer, and reducing it (to say 7k) > made no difference. > Is there a way to get this right down? Remove vorbisfile I assume is > the first thing (though I am loathe to do right now due to the extra > complexity involved). Mp3 currently uses about 32k of different buffersThat's not right; the tightest mp3 decoder I've seen needs about 48k R/W memory, and there's not much opportunities left to reduce that.> per file which is extremely efficient memory usage for consoles, is > there any way vorbis might be able to get this low?There's work being done to reduce Vorbis memory usage (as well as cpu usage, and cache pressure).> I havent had a look at static usage yet, id have to take a look at the > map file for that.> Any ideas or comments appreciated.You can mail me your malloc() etc. implememntation, and I'll have a look at it; and/or the raw output of your mem usage experiments. Cheers, Segher --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.