Mercurial > hg > pulseaudio
view ChangeLog @ 180:095b46980d97 icedtea-integrated
2008-10-10 Ioana Ivan <iivan@redhat.com>
* src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
(getLineInfo): removed method, moved to each subclass
* src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java
(getLineInfo): new method
* src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java
(getLineInfo): new method
* src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java
getLineInfo): new method
author | Ioana Ivan <iivan@redhat.com> |
---|---|
date | Fri, 10 Oct 2008 12:32:00 -0400 |
parents | 4260a476a101 |
children |
line wrap: on
line source
2008-10-10 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java (getLineInfo): removed method, moved to each subclass * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java (getLineInfo): new method * src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java (getLineInfo): new method * src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java getLineInfo): new method 2008-10-08 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java (addStreamListener): startedListener always fires a START event strtedListener notifies drain that there is data on the line (stop): sets writeInterrupted to true (start): doesn't send any events (getBytesInBuffer): new function, returns the number of bytes currently present in a stream's buffer * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java: (write): -checks writeInterrupted instead of drain and flush -if stop() was called before write() it writes data to the buffer until the buffer fills, then blocks -moved some code from the synchronized(this) block, since it was causing one test to hang (close): sets writeInterrupted to true (drain): sets writeInterrupted to true if the line is stopped and there is no data on the line, returns immediately, if there is data, blocks until the line is started * src/java/org/classpath/icedtea/pulseaudio/Stream.java (native_pa_stream_updateTimingInfo): new function ( bytesInBuffer): new function * src/native/org_classpath_icedtea_pulseaudio_Stream.c (JNICALL Java_org_classpath_icedtea_pulseaudio_Stream_bytesInBuffer): new function (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1updateTimingInfo): new function (update_timing_info_callback): new function (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1writable_1size): return 0 if the stream has been closed 2008-09-25 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java: removed all references to the boolean variable corked since it was redundant. (start) : only send a START event if there's been a call to stop between the last call to start and this one. (stop): only send a STOP event if there's been a call to start between the last call the stop and this one. (startedListener.update): send a START event the first time data is being written to the line and after an underflow. 2008-09-25 Ioana Ivan <iivan@redhat.com> * src/native/org_classpath_icedtea_Stream.c (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1connect_1playback): pass 0 as a flag to pa_stream_connect_playback * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java: formating changes 2008-09-23 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java: -split open() into createStream(), addStreamListeners() and connect(), which can be reused when reconnecting the line for synchronization -added recconectForSynchronization() -made some changes to stop()/start() in order to send START/STOP events both when corking and in case of underflow * src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java: -changes to synchronize() * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java: -changed connectLine to take the masterStream as a parameter in case we want to synchronize the Line * src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java: -changed connectLine to take the masterStream as a parameter in case we want to synchronize the Line 2008-08-13 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioPort.java: superclass for TargetPort and SourcePort * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java: implements the abstract methods required in PulseAudioPort * src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java: implements the abstract methods required in PulseAudioPort * unittests/org/classpath/icedtea/pulseaudio/PulseAudioSourcePortTest.java * unittests/org/classpath/icedtea/pulseaudio/PulseAudioTargetPortTest.java: new tests 2008-08-13 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java: new class representing a targetport * some refactoring in the control classes (controls for the target port are now supported) 2008-08-13 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java: superclass for TargetDataLine and SourceDataLine; moved open and close here * src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java: chnaged the methods written so far to use Stream.java 2008-08-13 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java: modified getLine() to allow us to obtain a TargetDataLine * src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java: added open(), read() and close() * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java marged the streamListeners into a single listener 2008-08-13 Ioana Ivan <iivan@redhat.com> * src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java: the list of formats recognized by PulseAudio is being set here, so it can be used by all DataLines. Also made some changes to get*LineInfo() and isLineSupported() * src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java: changed the constructor 2008-08-11 Joshua Sumali <jsumali@redhat.com> * configure.ac: Add check for libpulse. * src/native/Makefile.am: Use flags from PKG_CHECK_MODULES. 2008-08-11 Joshua Sumali <jsumali@redhat.com> * src/native/Makefile.am: Add flags to link against pulseaudio. 2008-08-11 Joshua Sumali <jsumali@redhat.com> * .hgignore: Updated. * Makefile.am: Add libpulse-java.so to clean-local. * src/native/Makefile.am: Copy libpulse-java.so to the top dir after building. 2008-08-11 Joshua Sumali <jsumali@redhat.com> * .hgignore: Updated. 2008-08-11 Joshua Sumali <jsumali@redhat.com> * ChangeLog: New file. * INSTALL: Likewise. * NEWS: Likewise. * Makefile.am: Likewise. * build.xml: Likewise. * config.guess: Likewise. * config.sub: Likewise. * configure.ac: Likewise. * depcomp: Likewise. * install-sh: Likewise. * libtool: Likewise. * ltmain.sh: Likewise. * missing: Likewise. * src/org/*: Moved to src/java. * src/META-INF: Moved to src/java. * src/native/Makefile.am: New file. * makefile: Removed. * src/*.c: Moved to src/native. * src/*.h: Likewise.