summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.c
AgeCommit message (Collapse)Author
2003-01-13do not dispose audio and video ports on stream dispose.Miguel Freitas
CVS patchset: 3906 CVS date: 2003/01/13 23:02:41
2003-01-11introducing a new, very low-impact aproach on implementing a video ↵Guenter Bartsch
processing api CVS patchset: 3875 CVS date: 2003/01/11 19:06:52
2003-01-11brand-new external subtitles support. (yes, it works!)Miguel Freitas
tested with asf, avi and mpeg but any media should work. todo: - clean up the master/slave stuff and public api. - implement seeking on demux_sputext.c (it must seek to closest subtitle) - general cleaning up and bugfixing CVS patchset: 3860 CVS date: 2003/01/11 03:47:01
2003-01-10protect update of current_extra_infoMiguel Freitas
CVS patchset: 3854 CVS date: 2003/01/10 19:15:16
2003-01-09- can't use HAS_VIDEO/HAS_AUDIO at this stage because some demuxers will onlyMiguel Freitas
set it on send_headers. also daniel convinced me that xine does "handle a no audio stream" - fix audio_out.c to abort filling with zero on seeking/stop/quit. CVS patchset: 3840 CVS date: 2003/01/09 02:44:39
2002-12-27quite experimental changes on post plugin api to enable rewiringMiguel Freitas
of streams. Michael, please let me know if you have a better idea! :) CVS patchset: 3689 CVS date: 2002/12/27 03:40:07
2002-12-26- cleanup internal interfaces for rewiringMiguel Freitas
- fix UI_PLAYBACK_FINISHED rifle CVS patchset: 3686 CVS date: 2002/12/26 21:53:41
2002-12-24discard buffers on flush so decoder will return faster. seeking should beMiguel Freitas
faster as well. (on a problematic stream i have, seeking time was reduced from 2.5s to 0.8s) CVS patchset: 3665 CVS date: 2002/12/24 14:00:55
2002-12-22flush/seeking overhauledMiguel Freitas
- move frame discarding to inside the output loopss. it is much safer to manipulate fifos from there avoiding any races. - do not reject audio frames because vpts is smaller than previous. it might happen on seeking but it's ok, because the sound driver may have being flushed too. - fix xine_demux_flush_engine so it doesn't call output flush too early - remove scr adjusting please report any problems... CVS patchset: 3639 CVS date: 2002/12/22 23:30:29
2002-12-21minor comment updateMiguel Freitas
CVS patchset: 3608 CVS date: 2002/12/21 16:12:25
2002-12-21- add buf->decoder_info_ptr: portability for systems where pointer hasMiguel Freitas
different sizeof than integer. - add extra_info structure to pass informations from input/demuxers down to the output frame. this can be used, for example, to pass the frame number of a frame (when known by decoder). also, immediate benefict is that we now have a slider which really shows the current position of the playing stream. new fields can be added to extra_info keeping binary compatibility - bumpy everybody's api versions CVS patchset: 3603 CVS date: 2002/12/21 12:56:44
2002-12-14The solaris pthread_cond_init() man page tells me:Juergen Keil
Attempting to initialize an already initialized condition variable results in undefined behavior. fifo->not_empty was initialized in fifo_new(); there should be no need to re-initialize it in fifo_remove_int().. CVS patchset: 3519 CVS date: 2002/12/14 16:33:59
2002-12-14ao_fill_gap() must be called with the driver_lock unlocked, becauseJuergen Keil
ao_fill_gap() locks the driver, too ==> deadlock CVS patchset: 3518 CVS date: 2002/12/14 16:17:57
2002-12-06nothing here (just small debug message updates)Miguel Freitas
CVS patchset: 3431 CVS date: 2002/12/06 01:13:15
2002-12-01avoid overflowGuenter Bartsch
CVS patchset: 3394 CVS date: 2002/12/01 01:32:47
2002-11-30just now i realized the wrong underlying assumption i did in metronom: fixingMiguel Freitas
audio drift the same way i did for video doesn't work, since sound card won't play it slower or faster because of the vpts's. with this patch i hope to have definitely separated the 2 sources of audio drift: (1) nominal sample rate discrepancy to stream pts, (2) sound card drift to system clock. - revert feedback audio loop - updated metronom's audio drift - always do a full gap filling if needed CVS patchset: 3392 CVS date: 2002/11/30 22:09:42
2002-11-27experimental change in handling of sound clock drifting (relative to the ↵Heiko Schaefer
vpts values ...) this seems to work quite well on my test mpeg1 streams. otherwise untested CVS patchset: 3384 CVS date: 2002/11/27 23:13:09
2002-11-20engine modifications to allow post plugin layer:Michael Roitzsch
* new public output interface xine_{audio,video}_port_t instead of xine_{ao,vo}_driver_t, old names kept as aliases for compatibility * modified the engine to allow multiple streams per output * renaming of some internal structures according to public changes * moving SCR out of per-stream-metronom into a global metronom_clock_t residing in xine_t and therefore easily available to the output layer * adapting all available plugins (note to external projects: the compiler will help you a lot, if a plugin compiles, it is adapted, because all changes add new parameters to some functions) * bump up all interface versions because of xine_t and xine_stream_t changes CVS patchset: 3312 CVS date: 2002/11/20 11:57:38
2002-11-18set default audio.passthrough_offset to 0Heiko Schaefer
CVS patchset: 3295 CVS date: 2002/11/18 15:53:31
2002-11-12even more agressive consistency checkingGuenter Bartsch
CVS patchset: 3249 CVS date: 2002/11/12 17:55:48
2002-11-12use xmalloc instead of malloc so memory footprint can be easily traced and ↵Guenter Bartsch
memory is blanked CVS patchset: 3247 CVS date: 2002/11/12 16:52:33
2002-11-12fix buffer leakage in ao_loop, re-introduce lock around all driver ↵Guenter Bartsch
functions, try to avoid deadlocks when exiting ao_loop, clean up code CVS patchset: 3245 CVS date: 2002/11/12 00:15:08
2002-11-11A try to fix ao_flush() loopThibaut Mattern
CVS patchset: 3243 CVS date: 2002/11/11 23:41:25
2002-11-07this fixes a52 passthrough on my system (sblive 5.1 oss driver)Heiko Schaefer
CVS patchset: 3199 CVS date: 2002/11/07 22:39:55
2002-11-06fix stream ending deadlock without audio driverDaniel Caujolle-Bert
CVS patchset: 3196 CVS date: 2002/11/06 23:20:45
2002-10-29engine improvementsMichael Roitzsch
- output fifo flushing - more sophisticated discontinuity handling - seek improvement by waiting for at least one frame CVS patchset: 3089 CVS date: 2002/10/29 16:02:43
2002-10-24fix identiation, implement an audio compressor filter (yeah, i know a big ↵Guenter Bartsch
concept for audio filter plugins is needed but sorry, this has been on my todo-list for too long) CVS patchset: 2990 CVS date: 2002/10/24 17:51:30
2002-10-20win32 decoder adapted to new apiGuenter Bartsch
CVS patchset: 2874 CVS date: 2002/10/20 15:56:27
2002-10-18A52 audio is now output without volume set to 0 or off. :-)James Courtier-Dutton
Config entries not enabled yet. Possible multiple stream issues. CVS patchset: 2849 CVS date: 2002/10/18 14:20:58
2002-10-18Move alsa audio over to new api.James Courtier-Dutton
CVS patchset: 2848 CVS date: 2002/10/18 13:13:30
2002-10-14introduction of xine_stream_t and async xine events - all still in developementGuenter Bartsch
CVS patchset: 2828 CVS date: 2002/10/14 15:46:48
2002-10-12Bind the audio_out thread to a separate LWP on solaris 8 (like video_out,Juergen Keil
video_decoder and audio_decoder) CVS patchset: 2819 CVS date: 2002/10/12 19:20:02
2002-10-12Make flush of audio work properly.James Courtier-Dutton
CVS patchset: 2813 CVS date: 2002/10/12 10:36:50
2002-10-10Audio out reorganisation to improve sync.James Courtier-Dutton
Tested with alsa09 and oss. CVS patchset: 2807 CVS date: 2002/10/10 13:12:17
2002-09-19C is funGuenter Bartsch
CVS patchset: 2701 CVS date: 2002/09/19 01:59:50
2002-09-18first steps towards implementing stream/meta infoGuenter Bartsch
CVS patchset: 2680 CVS date: 2002/09/18 00:51:33
2002-09-04merging in the new_api branch ... unfortunately video_out / vo_scale is ↵Guenter Bartsch
broken now ... matthias/miguel: please fix it :-) CVS patchset: 2606 CVS date: 2002/09/04 23:31:05
2002-08-09use correct format in log messageMichael Roitzsch
CVS patchset: 2414 CVS date: 2002/08/09 22:07:29
2002-07-28introduce a config option for passthough offsetHeiko Schaefer
CVS patchset: 2362 CVS date: 2002/07/28 21:37:35
2002-07-02Some fixes to the recent changes made to audio_alsa_out.James Courtier-Dutton
CVS patchset: 2195 CVS date: 2002/07/02 00:11:56
2002-07-01improved audio resampling for limited featured sound cards (like the ones ↵Miguel Freitas
found in laptops, supporting only 16 bits, only stereo etc). as added bonus of new "stackable" conversion scheme fixes resampling for 8 bit streams. (thanks Damien Clermonté for discussion and ideas) note1: alsa patch untested. note2: pass-through untested. CVS patchset: 2187 CVS date: 2002/07/01 13:51:26
2002-06-22ao_fill_gap already outputs a messageMichael Roitzsch
CVS patchset: 2129 CVS date: 2002/06/22 13:40:38
2002-06-19Fix the resume problem introduced by flushing audio_out buffers.Thibaut Mattern
CVS patchset: 2100 CVS date: 2002/06/19 23:45:50
2002-06-12Remove no more needed XINE_LOGO.Daniel Caujolle-Bert
Internationalize all config related stuff. Fix not registered mrl ending in roq/film demuxer. Add bindtextdomain() calls in load_plugins (for audio/video out plugins). CVS patchset: 2066 CVS date: 2002/06/12 12:22:25
2002-06-03Due of a nice suggestion from Siggi, remember_volume has moved to audio_out,Daniel Caujolle-Bert
so all ao plugins have this feature now. CVS patchset: 1991 CVS date: 2002/06/03 09:45:12
2002-05-24some cleanups, mutex to protect driver access (unpredictable things mayMiguel Freitas
happen without it when using async functions), force_rate as integer CVS patchset: 1935 CVS date: 2002/05/24 12:23:58
2002-05-21better output buffer calculations (when resampling) by Ian GoldbergMiguel Freitas
<ian@cypherpunks.ca> CVS patchset: 1926 CVS date: 2002/05/21 20:39:03
2002-04-29Replace all exit(1) with abort().James Courtier-Dutton
xine-lib should really never do an exit or abort, but instead pass back nice error values to the calling application, but until that happens, use abort() as that is tracable with gdb, whereas exit(1) is not backtraceable. CVS patchset: 1811 CVS date: 2002/04/29 23:31:59
2002-04-14xvid fourcc patch, small debug output fixesGuenter Bartsch
CVS patchset: 1716 CVS date: 2002/04/14 00:24:45
2002-04-01latest dxr3 fixes from Michael Roitzsch.Miguel Freitas
removed METRONOM_DENY_BACKWARD_ADJUST hack. CVS patchset: 1653 CVS date: 2002/04/01 12:09:08