1. 03 Nov, 2007 1 commit
    • Tim-Philipp Müller's avatar
      ext/alsa/: 'Could not open resource for writing' is not an acceptable even... · 5c279f44
      Tim-Philipp Müller authored
      ext/alsa/: 'Could not open resource for writing' is not an acceptable even less so when we're trying to open it to re...
      
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (gst_alsasink_open):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_open):
      'Could not open resource for writing' is not an acceptable
      error message when we can't open the audio device (see #492334),
      even less so when we're trying to open it to record something.
      5c279f44
  2. 16 Sep, 2007 1 commit
  3. 24 Aug, 2007 1 commit
    • Jan Schmidt's avatar
      ext/alsa/Makefile.am: There is no GST_PLUGINS_BASE_LIBS defined. · fc50d2dc
      Jan Schmidt authored
      Original commit message from CVS:
      * ext/alsa/Makefile.am:
      There is no GST_PLUGINS_BASE_LIBS defined.
      * ext/alsa/gstalsa.c:
      * ext/alsa/gstalsasink.c: (gst_alsasink_delay):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_delay):
      Add support for ALSA 24-bit formats.
      snd_pcm_delay can return an error code, especially
      during XRUNS. In that case, the best we can do is assume
      delay = 0.
      * gst/audioconvert/Makefile.am:
      Add flags from -base before any more-remote dependencies.
      fc50d2dc
  4. 01 Mar, 2007 1 commit
    • Wim Taymans's avatar
      ext/alsa/gstalsasink.*: Remove unused dispose function. · 1d0e1586
      Wim Taymans authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (gst_alsasink_class_init),
      (gst_alsasink_write), (gst_alsasink_reset):
      * ext/alsa/gstalsasink.h:
      Remove unused dispose function.
      Rename lock to not interfere with alsasrc lock.
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_finalize),
      (gst_alsasrc_class_init), (gst_alsasrc_init), (set_swparams),
      (gst_alsasrc_read), (gst_alsasrc_reset):
      * ext/alsa/gstalsasrc.h:
      Implement finalize function.
      Use lock to protect alsa access.
      Implement _reset.
      Fine tune sw params.
      1d0e1586
  5. 08 Feb, 2007 1 commit
    • Julien Puydt's avatar
      ext/alsa/: Improve device-name detection a bit, especially in the case where... · 880da4d8
      Julien Puydt authored
      ext/alsa/: Improve device-name detection a bit, especially in the case where the device is not actually open (#405020...
      
      Original commit message from CVS:
      Based on patch by: Julien Puydt <julien.puydt at laposte net>
      * ext/alsa/gstalsa.c: (gst_alsa_find_device_name_no_handle),
      (gst_alsa_find_device_name):
      * ext/alsa/gstalsa.h:
      * ext/alsa/gstalsasink.c: (gst_alsasink_get_property):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_get_property):
      Improve device-name detection a bit, especially in the case where
      the device is not actually open (#405020, #405024). Move common code
      into gstalsa.c instead of duplicating it.
      880da4d8
  6. 15 Sep, 2006 1 commit
    • Wim Taymans's avatar
      ext/alsa/: Use DEBUG_OBJECT more. · d3b4878b
      Wim Taymans authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (xrun_recovery), (gst_alsasink_write):
      * ext/alsa/gstalsasrc.c: (xrun_recovery), (gst_alsasrc_read):
      Use DEBUG_OBJECT more.
      d3b4878b
  7. 16 Aug, 2006 1 commit
    • Wim Taymans's avatar
      ext/alsa/: Avoid setting and using a NULL device name. · e7148707
      Wim Taymans authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (gst_alsasink_set_property),
      (gst_alsasink_open):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_set_property),
      (gst_alsasrc_open):
      Avoid setting and using a NULL device name.
      Print more info when we fail to open a device.
      e7148707
  8. 02 Jul, 2006 1 commit
  9. 18 May, 2006 1 commit
    • Martin Szulecki's avatar
      ext/alsa/: Clean up and simplify alsa device probing. Make it actually work... · f0f9f5ac
      Martin Szulecki authored
      ext/alsa/: Clean up and simplify alsa device probing. Make it actually work for multiple classes. Don't cache results...
      
      Original commit message from CVS:
      * ext/alsa/gstalsadeviceprobe.c: (gst_alsa_get_device_list),
      (gst_alsa_device_property_probe_probe_property),
      (gst_alsa_device_property_probe_needs_probe),
      (gst_alsa_device_property_probe_get_values),
      (gst_alsa_type_add_device_property_probe_interface):
      * ext/alsa/gstalsadeviceprobe.h:
      * ext/alsa/gstalsamixerelement.c:
      (gst_alsa_mixer_element_init_interfaces):
      * ext/alsa/gstalsamixerelement.h:
      Clean up and simplify alsa device probing. Make it actually work
      for multiple classes. Don't cache results any longer.
      * ext/alsa/gstalsasink.c: (gst_alsasink_init_interfaces),
      (gst_alsasink_init):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_dispose),
      (gst_alsasrc_interface_supported), (gst_implements_interface_init),
      (gst_alsasrc_init_interfaces), (gst_alsasrc_set_property):
      Make alsasink and alsasrc implement the GstPropertyProbe interface
      for device probing (#342181).
      Patch by: Martin Szulecki  <gnomebugzilla at sukimashita com>
      f0f9f5ac
  10. 16 May, 2006 1 commit
    • Tim-Philipp Müller's avatar
      ext/alsa/: Refactor and improve caps probing code: probe signedness when we... · 9d3a69fc
      Tim-Philipp Müller authored
      ext/alsa/: Refactor and improve caps probing code: probe signedness when we probe the supported formats/widths; set e...
      
      Original commit message from CVS:
      * ext/alsa/Makefile.am:
      * ext/alsa/gstalsa.c: (gst_alsa_detect_rates),
      (gst_alsa_detect_formats), (get_channel_free_structure),
      (caps_add_channel_configuration), (gst_alsa_detect_channels),
      (gst_alsa_probe_supported_formats):
      * ext/alsa/gstalsa.h:
      * ext/alsa/gstalsasink.c: (gst_alsasink_getcaps):
      Refactor and improve caps probing code: probe signedness
      when we probe the supported formats/widths; set endianness
      to the one we actually probed for (ie. cpu endianness).
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_init), (gst_alsasrc_getcaps),
      (gst_alsasrc_close):
      * ext/alsa/gstalsasrc.h:
      Implement caps probing for alsasrc.
      9d3a69fc
  11. 28 Apr, 2006 1 commit
    • Stefan Kost's avatar
      make GstElementDetails const · e972defd
      Stefan Kost authored
      Original commit message from CVS:
      * ext/alsa/gstalsamixerelement.c:
      * ext/alsa/gstalsasrc.c:
      * ext/cdparanoia/gstcdparanoiasrc.c:
      * ext/gnomevfs/gstgnomevfssink.c:
      * ext/gnomevfs/gstgnomevfssrc.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggparse.c:
      * ext/ogg/gstogmparse.c:
      * ext/pango/gstclockoverlay.c:
      * ext/pango/gsttextoverlay.c:
      * ext/pango/gsttextrender.c:
      * ext/pango/gsttimeoverlay.c:
      * ext/theora/theoradec.c:
      * ext/theora/theoraenc.c:
      * ext/vorbis/vorbisdec.c:
      * ext/vorbis/vorbisenc.c:
      * gst-libs/gst/audio/gstaudiofilter.c:
      * gst-libs/gst/audio/gstaudiofiltertemplate.c:
      * gst/audioconvert/gstaudioconvert.c:
      * gst/audiorate/gstaudiorate.c:
      * gst/audioresample/gstaudioresample.c:
      * gst/audiotestsrc/gstaudiotestsrc.c:
      * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstplaybin.c:
      * gst/playback/gststreamselector.c:
      * gst/subparse/gstsubparse.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gsttcpclientsink.c:
      * gst/tcp/gsttcpclientsrc.c:
      * gst/tcp/gsttcpserversink.c:
      * gst/tcp/gsttcpserversrc.c:
      * gst/typefind/gsttypefindfunctions.c: (plugin_init):
      * gst/videorate/gstvideorate.c:
      * gst/videoscale/gstvideoscale.c:
      * gst/videotestsrc/gstvideotestsrc.c:
      * gst/volume/gstvolume.c:
      * sys/v4l/gstv4ljpegsrc.c:
      * sys/v4l/gstv4lmjpegsink.c:
      * sys/v4l/gstv4lmjpegsrc.c:
      * sys/v4l/gstv4lsrc.c:
      * sys/ximage/ximagesink.c:
      * sys/xvimage/xvimagesink.c:
      * tests/check/libs/cddabasesrc.c:
      make GstElementDetails const
      e972defd
  12. 29 Mar, 2006 1 commit
    • j^'s avatar
      better/unified long descriptions · 08047f5c
      j^ authored
      Original commit message from CVS:
      Patch by: j^ <j at bootlab dot org>
      * ext/alsa/gstalsamixerelement.c:
      (gst_alsa_mixer_element_class_init):
      * ext/alsa/gstalsasink.c:
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init):
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggparse.c:
      * ext/pango/gstclockoverlay.c:
      * ext/pango/gsttextoverlay.c:
      * ext/pango/gsttextrender.c:
      * ext/pango/gsttimeoverlay.c:
      * ext/theora/theoradec.c:
      * ext/theora/theoraenc.c:
      * ext/vorbis/vorbisdec.c:
      * ext/vorbis/vorbisenc.c:
      * gst/audioconvert/gstaudioconvert.c:
      * gst/subparse/gstsubparse.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gsttcpclientsink.c:
      * gst/tcp/gsttcpclientsrc.c:
      * gst/tcp/gsttcpserversink.c:
      * gst/tcp/gsttcpserversrc.c:
      better/unified long descriptions
      Fixes #336477
      08047f5c
  13. 01 Mar, 2006 1 commit
    • Wim Taymans's avatar
      Added alsa docs. · b6e01659
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-docs.sgml:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * ext/alsa/gstalsamixer.c:
      * ext/alsa/gstalsamixer.h:
      * ext/alsa/gstalsamixerelement.c:
      (gst_alsa_mixer_element_class_init), (gst_alsa_mixer_element_init):
      * ext/alsa/gstalsamixerelement.h:
      * ext/alsa/gstalsasink.c:
      * ext/alsa/gstalsasink.h:
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init),
      (gst_alsasrc_init):
      * ext/alsa/gstalsasrc.h:
      Added alsa docs.
      Small code cleanups.
      b6e01659
  14. 28 Feb, 2006 1 commit
  15. 22 Feb, 2006 1 commit
  16. 09 Feb, 2006 1 commit
    • Andy Wingo's avatar
      gst-libs/gst/audio/gstringbuffer.c · 4ae63e73
      Andy Wingo authored
      Original commit message from CVS:
      2006-02-09  Andy Wingo  <wingo@pobox.com>
      
      * gst-libs/gst/audio/gstringbuffer.c
      (gst_ring_buffer_samples_done): Cast to guint64, fixes an integer
      overflow after 13.5 hours of recording. Kapow!
      
      * ext/alsa/gstalsasrc.c (gst_alsasrc_delay): Clamp the delay to
      the buffer size -- we don't care about underrun/overrun reporting
      right now, just need to return a useful value.
      4ae63e73
  17. 28 Jan, 2006 1 commit
    • Thomas Vander Stichele's avatar
      ext/alsa/: Update all error messages. All of them should either use the... · 786e3c74
      Thomas Vander Stichele authored
      ext/alsa/: Update all error messages.  All of them should either use the default translated message, or actually prov...
      
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (gst_alsasink_init), (set_hwparams),
      (set_swparams), (gst_alsasink_prepare), (gst_alsasink_unprepare),
      (gst_alsasink_close), (gst_alsasink_write), (gst_alsasink_reset):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_init), (set_hwparams),
      (set_swparams), (gst_alsasrc_open), (gst_alsasrc_prepare),
      (gst_alsasrc_unprepare), (gst_alsasrc_read):
      Update all error messages.  All of them should either use
      the default translated message, or actually provide a
      translatable string.
      Make the string for channel count problems meaningful.
      786e3c74
  18. 06 Dec, 2005 1 commit
  19. 28 Aug, 2005 1 commit
  20. 22 Aug, 2005 2 commits
    • Andy Wingo's avatar
      ext/alsa/: Add a device-name property. · 1bbfa093
      Andy Wingo authored
      Original commit message from CVS:
      2005-08-22  Andy Wingo  <wingo@pobox.com>
      
      * ext/alsa/gstalsasink.c (gst_alsasink_get_property):
      * ext/alsa/gstalsasrc.c (gst_alsasrc_get_property): Add a
      device-name property.
      1bbfa093
    • Andy Wingo's avatar
      gst-libs/gst/audio/gstaudiosrc.*: Implement open_device and close_device in... · 13b122a1
      Andy Wingo authored
      gst-libs/gst/audio/gstaudiosrc.*: Implement open_device and close_device in the ring buffer, like gstaudiosink.
      
      Original commit message from CVS:
      2005-08-22  Andy Wingo  <wingo@pobox.com>
      
      * gst-libs/gst/audio/gstaudiosrc.h:
      * gst-libs/gst/audio/gstaudiosrc.c: Implement open_device and
      close_device in the ring buffer, like gstaudiosink.
      
      * ext/alsa/gstalsamixer.h:
      * ext/alsa/gstalsamixer.c: Not a GObject any more. Include a nifty
      macro to implement the interface without much code. Cleanups.
      
      * ext/alsa/gstalsasrc.h:
      * ext/alsa/gstalsasrc.c: Be a mixer. Open device and mixer in
      READY.
      
      * ext/alsa/Makefile.am: Add new files.
      * ext/alsa/gstalsamixerelement.c:
      * ext/alsa/gstalsamixerelement.c: Split element code out from
      mixer code so that alsasrc can be a mixer too.
      13b122a1
  21. 10 Jul, 2005 1 commit
  22. 08 Jul, 2005 1 commit
  23. 06 Jul, 2005 1 commit
  24. 28 Jun, 2005 1 commit
  25. 09 Jul, 2004 1 commit
  26. 25 Jun, 2004 1 commit
  27. 24 Jun, 2004 1 commit
    • Wim Taymans's avatar
      ext/alsa/: Use alsa trigger_tstamp to get the timestamp of the first sample in... · 1bb09c43
      Wim Taymans authored
      ext/alsa/: Use alsa trigger_tstamp to get the timestamp of the first sample in the buffer for more precise sync. Some...
      
      Original commit message from CVS:
      * ext/alsa/gstalsa.c: (gst_alsa_start), (gst_alsa_xrun_recovery):
      * ext/alsa/gstalsa.h:
      * ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
      (gst_alsa_src_update_avail), (gst_alsa_src_loop):
      Use alsa trigger_tstamp to get the timestamp of the first
      sample in the buffer for more precise sync. Some cleanups.
      1bb09c43
  28. 23 Jun, 2004 1 commit
    • Wim Taymans's avatar
      ext/alsa/: Add clock to alsasrc. Take new capture timestamp when restarting... · e56c174f
      Wim Taymans authored
      ext/alsa/: Add clock to alsasrc. Take new capture timestamp when restarting after an overrun. Split up some functions...
      
      Original commit message from CVS:
      * ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start),
      (gst_alsa_xrun_recovery):
      * ext/alsa/gstalsa.h:
      * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
      (gst_alsa_sink_loop), (gst_alsa_sink_get_time):
      * ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
      (gst_alsa_src_get_time), (gst_alsa_src_update_avail),
      (gst_alsa_src_loop):
      Add clock to alsasrc. Take new capture timestamp when
      restarting after an overrun. Split up some functions between
      alsasrc ans alsasink.
      e56c174f
  29. 22 Jun, 2004 1 commit
    • Wim Taymans's avatar
      ext/alsa/: Cleanups, take queued samples into account when reporting the time. · 148c9043
      Wim Taymans authored
      Original commit message from CVS:
      * ext/alsa/gstalsa.c: (gst_alsa_get_time), (gst_alsa_clock_update),
      (gst_alsa_change_state), (gst_alsa_update_avail),
      (gst_alsa_xrun_recovery):
      * ext/alsa/gstalsa.h:
      * ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
      Cleanups, take queued samples into account when reporting
      the time.
      148c9043
  30. 17 Jun, 2004 1 commit
    • Wim Taymans's avatar
      ext/alsa/: Make the xrun code timestamp and offset the buffers correctly.... · a4881821
      Wim Taymans authored
      ext/alsa/: Make the xrun code timestamp and offset the buffers correctly. moved the clock to the base class, use alsa...
      
      Original commit message from CVS:
      * ext/alsa/gstalsa.c: (gst_alsa_init), (gst_alsa_dispose),
      (gst_alsa_get_time), (gst_alsa_xrun_recovery):
      * ext/alsa/gstalsa.h:
      * ext/alsa/gstalsaclock.c: (gst_alsa_clock_get_type):
      * ext/alsa/gstalsasrc.c: (gst_alsa_src_init), (gst_alsa_src_loop),
      (gst_alsa_src_change_state):
      * ext/alsa/gstalsasrc.h:
      Make the xrun code timestamp and offset the buffers correctly.
      moved the clock to the base class, use alsa methods to get time.
      Do correct timestamping on outgoing buffers.
      a4881821
  31. 02 Jun, 2004 2 commits
  32. 09 May, 2004 1 commit
    • Benjamin Otte's avatar
      ext/alsa/gstalsasrc.c: don't use a fixed buffer size when writing variable... · f1479afe
      Benjamin Otte authored
      ext/alsa/gstalsasrc.c: don't use a fixed buffer size when writing variable length data to it. Fixes memory corruption...
      
      Original commit message from CVS:
      * ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
      don't use a fixed buffer size when writing variable length data to
      it. Fixes memory corruption and makes alsasrc work
      f1479afe
  33. 07 May, 2004 1 commit
    • Ronald S. Bultje's avatar
      ext/alsa/: Make alsasink/src a subclass of alsamixer so that mixer stuff shows... · 7fa3cd3b
      Ronald S. Bultje authored
      ext/alsa/: Make alsasink/src a subclass of alsamixer so that mixer stuff shows up in gst-rec. Needs some finetuning.
      
      Original commit message from CVS:
      * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
      * ext/alsa/gstalsasink.c: (gst_alsa_sink_get_type),
      (gst_alsa_sink_class_init):
      * ext/alsa/gstalsasink.h:
      * ext/alsa/gstalsasrc.c: (gst_alsa_src_get_type),
      (gst_alsa_src_class_init):
      * ext/alsa/gstalsasrc.h:
      Make alsasink/src a subclass of alsamixer so that mixer stuff
      shows up in gst-rec. Needs some finetuning.
      7fa3cd3b
  34. 15 Mar, 2004 1 commit
  35. 14 Mar, 2004 1 commit
  36. 02 Feb, 2004 1 commit
  37. 29 Jan, 2004 1 commit
  38. 18 Jan, 2004 1 commit