CVSROOT: /sources/classpath
Module name: classpath
Changes by: Mario Torre <neugens> 07/08/18 15:23:16
Modified files:
include : Makefile.am
gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h
gnu/javax/sound/sampled/gstreamer: GStreamerMixer.java
native/jni/gstreamer-peer: Makefile.am
gnu/javax/sound/sampled/gstreamer/io: GstAudioFileReader.java
GstAudioFileWriter.java
GstAudioFileReaderNativePeer.java
gnu/javax/sound/sampled/gstreamer/lines: GstSourceDataLine.java
GstNativeDataLine.java
GstPipeline.java
GstDataLine.java
. : ChangeLog
Added files:
include :
gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h
gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h
gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h
native/jni/gstreamer-peer: gst_native_data_line.c
gstreamer_io_peer.c
gst_input_stream.c
gst_classpath_src.h
gst_input_stream.h
gst_classpath_src.c
gst_native_pipeline.h
gst_native_pipeline.c gst_peer.c
gst_peer.h
gnu/javax/sound/sampled/gstreamer/io: GstInputStream.java
examples/gnu/classpath/examples/sound: AudioPlayerSample.java
Removed files:
native/jni/gstreamer-peer: gstinputstream.h gstclasspathsrc.h
gstclasspathsrc.c GStreamerIOPeer.c
gstinputstream.c
Log message:
2007-08-18 Mario Torre <[EMAIL PROTECTED]>
* examples/gnu/classpath/examples/sound/AudioPlayerSample.java:
new file.
* gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: removed
unused import.
* gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java:
likewise.
*
gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
(gstreamer_get_audio_format_stream): changed signature tu
accept a Pointer
object instead of a BufferedInputStream.
(GstHeader):
(getAudioFormat(InputStream, GstHeader)): new private method.
(getAudioFormat(public)): refactored to use the private
getAudioFormat
with shared functionality.
(getAudioFormat(GstHeader header)): removed a redundant check.
(init_id_cache): new native method.
* gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java: new
file.
* gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java:
(GstDataLine.State): removed enum.
(state): removed local variable.
(isRunning): removed method.
(open): likewise.
(setFormat): new methods.
(setOpen): likewise.
(setBufferSize): likewise.
*
gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java:
(createSourcePipeline): new method.
(setup_sink_pipeline): likewise.
(init_id_cache): likewise. Added to the static initializer.
* gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
(GstPipeline.State): new enum.
(state): new local variable.
(name): likewise.
(output): likewise.
(source): likewise.
(ready): likewise.
(getState): new method.
(closePipe): likewise.
(create_named_pipe): likewise.
(set_state): likewise.
(available): likewise.
(drain): likewise.
(GstPipeline): likewise.
(close): likewise.
(prepareWrite): likewise.
(flush): likewise.
(write): likewise.
(init_instance): likewise.
(read): likewise.
(createForWrite): likewise.
(setState): likewise.
(getNativeClass): likewise.
(init_id_cache): likewise.
*
gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java:
(pipeline): new local variable.
(opne): likewise.
(isActive): method implemented.
(stop): likewise.
(open): likewise.
(flush): likewise.
(isRunning): likewise.
(start): likewise.
(write): likewise.
(available): likewise.
(drain): likewise.
(close): likewise.
* include/Makefile.am: added entry to generate new header file.
*
include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
regenerated.
*
include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: likewise.
*
include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h:
likewise.
* include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
likewise.
* native/jni/gstreamer-peer/gstclasspathsrc.c: removed.
* native/jni/gstreamer-peer/gstinputstream.c: likewise.
* native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
* native/jni/gstreamer-peer/gstinputstream.h: likewise.
* native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
* native/jni/gstreamer-peer/Makefile.am: new file added for
compilation.
code reformat to keep the 80 columns constraint.
* native/jni/gstreamer-peer/gst_native_pipeline.h: new file.
* native/jni/gstreamer-peer/gst_input_stream.c: likewise.
* native/jni/gstreamer-peer/gst_input_stream.h: likewise.
* native/jni/gstreamer-peer/gst_classpath_src.c: likewise.
* native/jni/gstreamer-peer/gst_native_pipeline.c: likewise.
* native/jni/gstreamer-peer/gst_native_data_line.c: likewise.
* native/jni/gstreamer-peer/gst_classpath_src.h: likewise.
* native/jni/gstreamer-peer/gstreamer_io_peer.c: likewise.
* native/jni/gstreamer-peer/gst_peer.c: likewise.
* native/jni/gstreamer-peer/gst_peer.h: likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/include/Makefile.am?cvsroot=classpath&r1=1.82&r2=1.83
http://cvs.savannah.gnu.org/viewcvs/classpath/include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/Makefile.am?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_native_data_line.c?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gstreamer_io_peer.c?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_input_stream.c?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_classpath_src.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_input_stream.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_classpath_src.c?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_native_pipeline.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_native_pipeline.c?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_peer.c?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gst_peer.h?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gstinputstream.h?cvsroot=classpath&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gstclasspathsrc.h?cvsroot=classpath&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gstclasspathsrc.c?cvsroot=classpath&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/GStreamerIOPeer.c?cvsroot=classpath&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gstreamer-peer/gstinputstream.c?cvsroot=classpath&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9363&r2=1.9364
http://cvs.savannah.gnu.org/viewcvs/classpath/examples/gnu/classpath/examples/sound/AudioPlayerSample.java?cvsroot=classpath&rev=1.1