Max Horn
|
9b2d4f92aa
|
removed the AudioInputStream::size method -> only eof() is really needed, and this can be implemented more efficiently stand-alone; implemented MP3InputStream (work in progress)
svn-id: r9313
|
2003-07-31 01:21:38 +00:00 |
|
Max Horn
|
77eb284062
|
added VorbisInputStream
svn-id: r9271
|
2003-07-29 01:37:03 +00:00 |
|
Max Horn
|
c6a4a1d37d
|
make wrapped stream work (I can hear some music in CoMI now before it segfaults :-)
svn-id: r9258
|
2003-07-28 18:01:56 +00:00 |
|
Max Horn
|
13eee4b06f
|
rewrote the input streams, this should be more straightforward and inline slightly better (the fact that the main AudioInputStream methods are virtual still means that no inlining can take place there; but of course, if we did change that, all the rate converters would have to exist in 8, instead of currently 2, compiled versions)
svn-id: r9256
|
2003-07-28 17:28:29 +00:00 |
|
Max Horn
|
7ea67048c1
|
more work on WrappedMemoryStream (not yet tested)
svn-id: r9253
|
2003-07-28 16:55:43 +00:00 |
|
Max Horn
|
9e051fa507
|
instead of 'int channels', use 'bool stereo' (less extensible, but then I don't think we'll ever support 5.1 sound :-)); fixed a bug in st_rate_flow where it sometimes would overflow the output buffer; made CopyRateConverter a template, too, increasing efficency
svn-id: r9239
|
2003-07-28 11:13:01 +00:00 |
|
Max Horn
|
e87bc6d89e
|
use a single converter for both channels (if input data is stereo), for improved efficency; renamed MemoryAudioInputStream -> LinearMemoryStream and use some template voodoo to make the baseclass of Input8bitSignedStream etc. variable; added (commented out) draf of WrappedMemoryStream
svn-id: r9209
|
2003-07-28 01:13:31 +00:00 |
|
Max Horn
|
c520d2d423
|
move AudioInputStream implementations & makeInputStream into separate .cpp file
svn-id: r9190
|
2003-07-25 13:42:05 +00:00 |
|
Max Horn
|
2ae3e45aea
|
reduced source code duplication
svn-id: r9189
|
2003-07-25 13:34:25 +00:00 |
|
Max Horn
|
1622ac31da
|
added RateConverter classes as thin wrappers around st_* functions; renamed InputStream -> AudioInputStream and cleaned up the hierarchy of its subclasses; added makeInputStream() auxillary function
svn-id: r9179
|
2003-07-24 18:20:12 +00:00 |
|
Max Horn
|
b9d380bba4
|
new files, based on SoX (http://sox.sf.net): better resampling code. Note that my mixer.cpp changes are on purpose not yet in CVS since they are not complete. Only reasons I checkin these files is that it's much more comfortable to have CVS, since I need to rewrite parts of resample.cpp now (I already have lots of modifications in). Also expect more OO in the future
svn-id: r9176
|
2003-07-24 17:46:38 +00:00 |
|