summaryrefslogtreecommitdiff
path: root/src/audio_out/audio_alsa_out.c
AgeCommit message (Collapse)Author
2003-03-17do not skip the whole format detection, if verbosity is lowMichael Roitzsch
CVS patchset: 4436 CVS date: 2003/03/17 15:17:08
2003-03-15mute default console outputJames Stembridge
CVS patchset: 4425 CVS date: 2003/03/15 14:32:18
2003-03-15should do snd_pcm_prepare after snd_pcm_drop as otherwise we are left in ↵James Stembridge
SND_PCM_STATE_SETUP - fixes bad state errors when seeking CVS patchset: 4423 CVS date: 2003/03/15 13:50:58
2003-03-04fix compiler warnings at least in xine's native codeMichael Roitzsch
CVS patchset: 4330 CVS date: 2003/03/04 10:30:27
2003-02-28Xine assert() replacement:Stephen Torri
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its adding the ability to print out a stack trace at the point where the assertion fails. So here are a few examples. assert (0); This use of assert was found in a couple locations most favorably being the default case of a switch statement. This was the only thing there. So if the switch statement was unable to find a match it would have defaulted to this and the user and the developers would be stuck wonder who died and where. So it has been replaced with XINE_ASSERT(0, "We have reach this point and don't have a default case"); It may seem a bit none descriptive but there is more going on behind the scene. In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT prints out: <filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description> An example of this might be: input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h CVS patchset: 4301 CVS date: 2003/02/28 02:51:47
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-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-10-24Fix some log messages in audio_alsa_out.cJames Courtier-Dutton
Fix input_dvd.c for new config file loading before init_class(). CVS patchset: 2982 CVS date: 2002/10/24 13:52:56
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-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-16Introduce a deep copy in the xine_config_lookup functions.James Courtier-Dutton
Care must be taken to make sure xine_cfg_entry_t is all zeros before any calls to xine_config_lookup functions. CVS patchset: 2673 CVS date: 2002/09/16 15:09:36
2002-09-16Fix a bug in audio_alsa_out.cJames Courtier-Dutton
This should fix all those audio passthru problems. CVS patchset: 2671 CVS date: 2002/09/16 12:27:08
2002-09-05make all the plugin init functions staticMichael Roitzsch
(geez this was a job) CVS patchset: 2616 CVS date: 2002/09/05 20:44:38
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-07-31Fix endian issue by Bastien NoceraPhilipp Hahn
CVS patchset: 2372 CVS date: 2002/07/31 06:29:08
2002-07-08Request period_TIME instead of period_SIZEPhilipp Hahn
CVS patchset: 2228 CVS date: 2002/07/08 15:16:11
2002-07-03Add function descriptions because I am tired of looking them up eacg timePhilipp Hahn
CVS patchset: 2203 CVS date: 2002/07/03 07:54:27
2002-07-03Calculate b/f the alsa wayPhilipp Hahn
CVS patchset: 2202 CVS date: 2002/07/03 07:50:20
2002-07-03Only test 8bit, do not set itPhilipp Hahn
CVS patchset: 2201 CVS date: 2002/07/03 07:44:04
2002-07-03Optionally reduce logging outputPhilipp Hahn
CVS patchset: 2200 CVS date: 2002/07/03 07:38:20
2002-07-02Fix spellingPhilipp Hahn
CVS patchset: 2196 CVS date: 2002/07/02 05:44:02
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-07-01Pre-final: cleanup period-size calculationPhilipp Hahn
CVS patchset: 2184 CVS date: 2002/07/01 11:45:25
2002-07-01FIX: Set buffer-time instead of buffer-sizePhilipp Hahn
CVS patchset: 2183 CVS date: 2002/07/01 11:41:20
2002-07-01Fix rate adjustmentPhilipp Hahn
CVS patchset: 2182 CVS date: 2002/07/01 11:38:59
2002-07-01Add documentationPhilipp Hahn
CVS patchset: 2181 CVS date: 2002/07/01 11:35:46
2002-07-01Add/improve error reportingPhilipp Hahn
CVS patchset: 2180 CVS date: 2002/07/01 11:33:18
2002-07-01Remove unused variablePhilipp Hahn
CVS patchset: 2179 CVS date: 2002/07/01 11:28:29
2002-07-01Remove obsolete cruftPhilipp Hahn
CVS patchset: 2178 CVS date: 2002/07/01 11:27:04
2002-06-17Use reset call instead of drop.Thibaut Mattern
I hope it fixes Daniel's problem. CVS patchset: 2089 CVS date: 2002/06/17 16:59:43
2002-06-15Try pause call only once.Thibaut Mattern
CVS patchset: 2074 CVS date: 2002/06/15 10:24:48
2002-06-13Try to use snd_pcm_pause, fallback to a reset if it doesn't work.Thibaut Mattern
CVS patchset: 2072 CVS date: 2002/06/13 18:39:17
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-03Flush audio_out buffers at seek and pause.Thibaut Mattern
CVS patchset: 2008 CVS date: 2002/06/03 23:12:44
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-06-03Add "remember volume" feature.Daniel Caujolle-Bert
CVS patchset: 1990 CVS date: 2002/06/03 07:53:11
2002-04-27Just in case something goes wrong, stop with a handy error message.Matthias Dahl
CVS patchset: 1787 CVS date: 2002/04/27 22:11:12
2002-04-27Try do use the right asoundlib header file (avoid warning message).Daniel Caujolle-Bert
CVS patchset: 1780 CVS date: 2002/04/27 14:04:53
2002-04-15Alsa pause and resume is not stable enought yet.James Courtier-Dutton
Wait for alsa to improve, and in the mean time implement snd_pcm_drop when I have a mo. CVS patchset: 1722 CVS date: 2002/04/15 00:50:44
2002-04-13Fixed the audio pausing/resuming on alsa09.James Courtier-Dutton
It now only does quick pause if the sound card can handle it. CVS patchset: 1715 CVS date: 2002/04/13 15:33:38
2002-03-21Correct some parameters in some alsa-lib function calls.James Courtier-Dutton
CVS patchset: 1600 CVS date: 2002/03/21 00:34:35
2002-03-11Add a "control" method to the audio drivers, to allow pause/resume of theJuergen Keil
playback stream and to flush buffered samples from from the audio driver. (Currently implemented in the 'Sun' audio driver, + some untested code in the alsa 0.9 driver). The pause/resume method can be used by the engine to immediatelly stop playing buffered audio samples when the video is paused. Flushing buffered samples is useful when a video is stopped. And it'll be useful for better seeking support, too. CVS patchset: 1556 CVS date: 2002/03/11 19:58:00
2002-02-08Avoid concurency access to mixer.Daniel Caujolle-Bert
CVS patchset: 1486 CVS date: 2002/02/08 13:13:47
2001-12-24Oops, comment more than necessary.Daniel Caujolle-Bert
CVS patchset: 1298 CVS date: 2001/12/24 13:06:10
2001-12-24Close sound mixer on exit (patch from Chris Rankin <rankincj@yahoo.com>)Daniel Caujolle-Bert
CVS patchset: 1296 CVS date: 2001/12/24 13:00:35
2001-12-16Handle mixer event (form other softs).Daniel Caujolle-Bert
CVS patchset: 1250 CVS date: 2001/12/16 00:56:25
2001-12-10ALSA out capabilities output made similar to OSS.James Courtier-Dutton
CVS patchset: 1213 CVS date: 2001/12/10 20:03:00
2001-12-10Fix audio_alsa_out:write.James Courtier-Dutton
buffer calculations and parameter types were wrong. CVS patchset: 1211 CVS date: 2001/12/10 15:33:24