summaryrefslogtreecommitdiff
path: root/src/audio_out/audio_oss_out.c
AgeCommit message (Collapse)Author
2004-04-10improving config help stringsMichael Roitzsch
* for alsa: do not register config entries multiple times just to get the value, use lookup_entry() * for directx: get rid of unused device_name * for OSS: remove mixer config, derive mixer name from device name CVS patchset: 6379 CVS date: 2004/04/10 14:53:42
2004-03-18Fix more messagesPhilipp Hahn
CVS patchset: 6287 CVS date: 2004/03/18 09:07:00
2004-03-04autoscan devfs patch from SteveFrantišek Dvořák
CVS patchset: 6216 CVS date: 2004/03/04 16:06:02
2004-01-01unused variableMichael Roitzsch
CVS patchset: 5969 CVS date: 2004/01/01 15:55:24
2003-12-31fix driver initialization on big endian platforms that don't support littleSiggi Langauf
endian audio samples CVS patchset: 5964 CVS date: 2003/12/31 12:05:26
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
2003-12-13- check that setting the "bits per sample" was what we asked for even if the ↵Bastien Nocera
ioctl works (fixes playback of 8 bits sounds on i810 soundcards) CVS patchset: 5904 CVS date: 2003/12/13 19:22:33
2003-12-07- don't segfault when the audio device isn't availableBastien Nocera
CVS patchset: 5857 CVS date: 2003/12/07 00:25:52
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-10-19Try to follow audio_out api.Thibaut Mattern
Thanks to Daniel for the patch. Bastien: please test CVS patchset: 5542 CVS date: 2003/10/19 13:40:32
2003-10-06some housekeeping and compiler warningsMichael Roitzsch
CVS patchset: 5455 CVS date: 2003/10/06 15:27:10
2003-06-02since this might be dangerous to speakers, we should increase the experience ↵Michael Roitzsch
level of this option CVS patchset: 4999 CVS date: 2003/06/02 16:41:10
2003-06-01Work around for users with an oss sound card with spdif, but the soundJames Courtier-Dutton
card incorrectly reports AFMT_AC3 as being absent. In effect, this forces xine to send non-audio AC3 and DTS data to the sound card, without ever knowing if the spdif is working or not. Can cause horrible noise to come out of speakers, and might even damage speakers. CVS patchset: 4995 CVS date: 2003/06/01 22:48:26
2003-03-27oss verbosity patch by Anders WieheSiggi Langauf
CVS patchset: 4495 CVS date: 2003/03/27 11:39:23
2003-03-06steps toward muting xine's console output by defaultGuenter Bartsch
CVS patchset: 4345 CVS date: 2003/03/06 16:49:30
2003-02-08GETOPTR works _much_ better now (at least on my system).Miguel Freitas
wrap handling not tested yet. CVS patchset: 4117 CVS date: 2003/02/08 15:14:45
2003-02-01log output, copyright, some drivers produce negative delays, catch thatGuenter Bartsch
CVS patchset: 4077 CVS date: 2003/02/01 14:33:06
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-28fix reading out mixer settingGuenter Bartsch
CVS patchset: 3385 CVS date: 2002/11/28 08:03:23
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-16- return -1 if there is no mixer available so that xine-ui gets theMichael Roitzsch
capabilities correct - after testing 8bit mode, switch back to 16bits, because some cards might not report all their capabilities otherwise (inspired by work of theo@kluter.net) CVS patchset: 3270 CVS date: 2002/11/16 11:39:10
2002-11-12audio_out.c takes care of locking again, so audio_oss_out.c doesn't need it ↵Guenter Bartsch
any more CVS patchset: 3246 CVS date: 2002/11/12 00:32:29
2002-10-20more lockingGuenter Bartsch
CVS patchset: 2895 CVS date: 2002/10/20 23:58:52
2002-10-20still trying to get a/v sync working, more lockingGuenter Bartsch
CVS patchset: 2882 CVS date: 2002/10/20 17:56:35
2002-10-20secured another DSP_RESET ioctlGuenter Bartsch
CVS patchset: 2867 CVS date: 2002/10/20 00:52:06
2002-10-19at least my sb live doesn't like it when a write() call is interrupted by a ↵Guenter Bartsch
SNDCTL_DSP_RESET ioctl CVS patchset: 2865 CVS date: 2002/10/19 23:38:15
2002-10-17move open_plugin function (used to create new plugin instances) from the ↵Michael Roitzsch
plugin info struct to the plugin class struct small nerby change in libffmpeg decoder plugin: access to video_out/audio_out in decoders should now be done via the appropriate members in xine_stream_t CVS patchset: 2843 CVS date: 2002/10/17 17:43:41
2002-10-16introduce audio/video_driver_class_t, adapt oss audio output plugin, exclude ↵Guenter Bartsch
other audio output plugin from build process CVS patchset: 2841 CVS date: 2002/10/16 22:54:47
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-05- win32 bugfixesMiguel Freitas
- asf bugfixes - ffmpeg supporting ms iso mpeg4 - softsync fix by Bill Fink CVS patchset: 2216 CVS date: 2002/07/05 20:54:37
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-13Don't close/open the device on pause (only reset).Thibaut Mattern
CVS patchset: 2071 CVS date: 2002/06/13 18:36:26
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-05-28FreeBSD compile fixHeiko Schaefer
CVS patchset: 1959 CVS date: 2002/05/28 10:40:16
2002-05-21patch from Ian Goldberg <ian@cypherpunks.ca>:Miguel Freitas
"The logic to detect if your soundcard supports hardware A/V sync was wrong (for my card, cs4232, at least). The code did a check for DSP_CAP_REALTIME, and if that failed, didn't bother to check whether SNDCTL_DSP_GETODELAY or SNDCTL_DSP_GETOPTR worked." CVS patchset: 1925 CVS date: 2002/05/21 20:36:06
2002-05-02only include machine/soundcard.h for FreeBSD versions below 4.xHeiko Schaefer
CVS patchset: 1832 CVS date: 2002/05/02 10:24:10
2002-04-28last 0.9.9 preparations, disable ffmpeg debug output, error message fix for ossGuenter Bartsch
CVS patchset: 1798 CVS date: 2002/04/28 16:11:12
2002-04-28OSS 8 bit sound problem fix by Gert Vervoort <Gert.Vervoort@wxs.nl> plus ↵Guenter Bartsch
indentiation fix CVS patchset: 1795 CVS date: 2002/04/28 15:20:38
2002-04-23yet another sync method: probe sound card buffer size on startupMiguel Freitas
(experimental). sound cards usually have a fixed buffer (in bytes), therefore it's delay cannot be corrected for all sample rates using some latency setting. also this method doesn't suffer from the drift problem as softsync. CVS patchset: 1758 CVS date: 2002/04/23 01:06:32
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-03-11Fix muting set volume to 0 bug.Daniel Caujolle-Bert
CVS patchset: 1553 CVS date: 2002/03/11 09:01:37
2002-02-11Added DTS patch from Michael Roitzsch <amalthea@freenet.de>Rich J Wareham
CVS patchset: 1493 CVS date: 2002/02/11 13:00:46
2002-01-28make restoring volume settings at start optional (and disabled by default)Siggi Langauf
CVS patchset: 1456 CVS date: 2002/01/28 06:20:17
2002-01-15(half-blindly) applied dsp init patch from Michel DänzerSiggi Langauf
please test, if it breaks AC3 passthrough! CVS patchset: 1405 CVS date: 2002/01/15 12:23:05
2002-01-14miguel's latest still frame patches and some minor cleanupsGuenter Bartsch
CVS patchset: 1401 CVS date: 2002/01/14 00:34:22