1. 14 Nov, 2002 1 commit
    • Christophe Massiot's avatar
      Major change of the channels management. p_format->i_channels disappeares · 8928554e
      Christophe Massiot authored
      and is replaced by two members : i_physical_channels and i_original_channels.
      i_physical_channels describes the channels which are effectively present
      in the stream (at the current point of the aout pipeline), whereas
      i_original_channels represents the channels we used to constitute the
      stream. For instance a mono stream (FRONT_CENTER) may emanate from a
      FRONT_LEFT channel of a STEREO stream.
      
      Additionally, this contains hooks to dynamically select the audio device
      and the channels configuration. In order to do that, all aout plugins,
      and all interface plug-ins need to be adapted. Currently only SDL
      (partially OSS) and the rc interface have been adapted, please use them
      as a guide. Other aout plug-ins have been temporarily disabled.
      
      IMPORTANT : if you need a working sound output, DO NOT UPDATE YOUR TREE
      for several days until we fix that.
      
      * modules/misc/network/ipv4.c: Fixed a long-standing segfault when saving
        preferences and asking for multicast.
      8928554e
  2. 13 Nov, 2002 1 commit
  3. 12 Nov, 2002 1 commit
    • Sam Hocevar's avatar
      * ./Makefile.am: fixed rc compilation under mingw32/cygwin. · df7cbb74
      Sam Hocevar authored
        * ./modules/access/http.c: fixed a segfault (unchecked strstr return value).
        * ./src/input/input_ext-plugins.c: removed platform-specific code and put
          it in plugins. This leads to some code duplication but I have an evil
          plan to get rid of that, too.
      df7cbb74
  4. 01 Nov, 2002 1 commit
    • gbazin's avatar
      · 95efa086
      gbazin authored
      * src/audio_output/common.c, include/aout_internal.h: added a new function
         aout_FifoFirstDate() that allows the aout plugin to schedule the first
         play.
      * src/audio_output/output.c: fixed another problem affecting the audio quality.
      * modules/audio_output/directx.c: improvements. The buffering scheme has been
         changed to be less affected by temporary starving. We also schedule the first   sample to play.
      95efa086
  5. 22 Oct, 2002 1 commit
  6. 21 Oct, 2002 1 commit
  7. 20 Oct, 2002 1 commit
  8. 30 Sep, 2002 1 commit
  9. 26 Sep, 2002 1 commit
  10. 20 Sep, 2002 1 commit
  11. 16 Sep, 2002 1 commit
  12. 02 Sep, 2002 1 commit
    • Christophe Massiot's avatar
      The liba52 "codec" is now an audio filter. It means we are now able to · 34c71967
      Christophe Massiot authored
      autodetect S/PDIF hardware support and the audio output plug-in chooses
      the best one. Of course it probably breaks existing output modules, see
      oss.c for hints :).
      
      Also include minor tweaks which will entitle us to decode and output 5.1
      audio. It may break existing plug-ins, too. See
      audio_output.c:aout_FormatNbChannels for hints.
      34c71967
  13. 30 Aug, 2002 1 commit
  14. 21 Aug, 2002 1 commit
    • Christophe Massiot's avatar
      Big round of fixes in the aout3. · 1c13a987
      Christophe Massiot authored
      * Audio and video should now _always_ be perfectly in sync.
      * Changes in a52.c (end_date management) must be ported to other codecs,
        otherwise mixer errors will appear.
      * Audio output plug-in can now tell whether they can handle a little
        clock drift (for instance, inserting zeroes after a pause).
      1c13a987
  15. 19 Aug, 2002 2 commits
  16. 14 Aug, 2002 2 commits
  17. 12 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/misc/objects.c: two big changes in the object API: now objects can · 6e8f9504
      Sam Hocevar authored
          only have one parent, because I don't want to deal with cycles, and each
          created object is indexed in a global array. This feature is unused yet,
          but it will speed up vlc_object_find(FIND_ANYWHERE).
        * ./debian/rules: activated the faad codec.
        * ./doc/fortunes.txt: new fortune cookies.
        * ./modules/codec/mpeg_video/headers.c: reduced the use of attach/detach.
        * ./modules/audio_output/oss.c: fixed two compilation warnings.
      6e8f9504
  18. 11 Aug, 2002 2 commits
  19. 09 Aug, 2002 1 commit
  20. 07 Aug, 2002 1 commit
  21. 04 Aug, 2002 2 commits
  22. 31 Jul, 2002 1 commit
  23. 08 Jun, 2002 1 commit
  24. 01 Jun, 2002 1 commit
    • Sam Hocevar's avatar
      * ALL: the first libvlc commit. · 9e3ab283
      Sam Hocevar authored
         As for video output 4, this breaks almost everything, but I'll slowly
        do what remains to be fixed during the weekend.
      
         Changes in vlc:
         ===============
      
        * vlc is now a very small program (20 lines) which uses the libvlc API;
         it is quite simple for the moment but can be extended in the future.
      
        * interfaces, decoders, video outputs, etc. are now almost the same
         objects (yes, I know, this is C++ redone in C) and are structured in
         a tree. More about this later, but basically it allows the following
         nice features:
          - several interfaces
          - several playlists with several outputs
          - input plugins spawning helper interfaces (will be used for DVD menus)
          - anything spawning anything; I swear there are useful uses for this!
      
        * libvlc can be used in other programs; I'm currently writing a Mozilla
         plugin for my employer.
      
         Things currently broken:
         ========================
      
        * most interfaces, most ports
        * the playlist handling (almost finished rewriting this though). This means
         no file can be played from the GUI, you need to use the commandline. This
         also means it segfaults at EOF, when exiting the program, and it sometimes
         refuses to open a file when asked to.
      9e3ab283
  25. 23 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/interface/main.c: tidied the help output code. · a6bccb1c
      Sam Hocevar authored
        * ALL: removed underscores from option names and made a few options more
          self-explanatory, for instance --input_channel becomes --audio-channel;
          run vlc -H to see what has changed.
        * ALL: replaced many occurences of "plugin" with the word "module".
        * ./src/interface/main.c: moved all satellite-specific configuration options
          to the satellite plugin.
        * ./po/*: updated translations.
      a6bccb1c
  26. 12 Mar, 2002 1 commit
    • Stéphane Borel's avatar
      · 2ce7beda
      Stéphane Borel authored
      *New configuration option to choose audio output format at runtime.
      It allows to select spdif pass-through decoder with --ac3_adec and to
      remove the ugly b_ac3 in main.h
      
      As a consequence --spdif doesn't work anymore: you should use --ac3_adec pass
      
      *Fixed a typo in main.c
      
      *Return the option name in error message for unknown option intead of the
      argument.
      2ce7beda
  27. 11 Mar, 2002 1 commit
    • gbazin's avatar
      · 7f583e05
      gbazin authored
      
      * New GTK configuration interface. This interface is generated dynamically
        at run-time from the configuration data contained in each plugin.
      * config_PutPszVariable and config_GetPszVariable are now thread safe.
      * Few modifications/optimizations to the config module.
      * Got rid of all the _VAR macros in config.h
      
      This is the first version of the GTK configuration interface. There are still
      a few raw corners and a fews things left to do, but it basically does what
      I wanted.
      Constructive comments like it sucks or it smells rotten fish are of course
      very welcome. And if there are GTK gurus out there, please don't hesitate to
      add your touch.
      
      I also started to add usefull comments to the configuration options but I'm not
      really good at this kind of thing so if people want to help, they can finish
      the job. For this look at all the *_LONGTEXT macros at the top of main.c
      
      (PS: Translations will also be appreciated but not right now as the interface
      will likely change again in the few coming days)
      7f583e05
  28. 04 Mar, 2002 1 commit
    • gbazin's avatar
      · 721c7207
      gbazin authored
      
      * We now make sure the aout plugin buffers always contain between
      AOUT_BUFFER_DURATION/2 and AOUT_BUFFER_DURATION*3/2 worth of audio.
      This should solve the audio buffer underruns.
      
      * fix for the bug in input when filename contains a '@' character.
      
      * simplified the win32 specific changes to the input parser. ( I think
      we can safely assume that no access plugin name will have a length of
      one character)
      721c7207
  29. 27 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · eba980c2
      Sam Hocevar authored
        * ./plugins/mpeg_vdec/vpar_headers.c: we no longer crash when the next
          stream doesn't have the same image size as the previous one.
        * ./src/audio_output/aout_pcm.c: another overrun fix; please test.
      eba980c2
  30. 26 Feb, 2002 1 commit
    • gbazin's avatar
      · b69353c5
      gbazin authored
      * forgot to add the declaration of server_port in main.c
      * char pointers obtained by config_GetPszVariable need to be freed
      b69353c5
  31. 24 Feb, 2002 2 commits
    • Sam Hocevar's avatar
      · d4243d59
      Sam Hocevar authored
        * Fixed a quite old bug in the audio output which made the sound stutter
          when wrapping around the audio output fifo.
        * Lots of simplifications in the audio output, got rid of b_stereo.
      d4243d59
    • gbazin's avatar
      · c40571df
      gbazin authored
      This is the first part of the new configuration architecture for vlc.
      Two other parts will follow soon:
      - config file implementation
      - gtk configuration interface.
      
      This part won't change much for end-users as these changes are mostly
      internal, you will however notice that the command line interface has
      changed. It will maybe be less user-friendly as I almost removed the
      short options but it shouldn't a big problem when the config file is
      implemented.
      
      What as changed is that it is really easy now to add configuration
      options to vlc. Plugins can also implement configuration options. All
      you have to do is to declare a MODULE_CONFIG section in your plugin.
      If you want to know more about this look at configuration.h and for some
      example: main.c, dsp.c or xvideo.c
      
      It would be nice if every developper could now start using configuration
      options in there plugins and also enhance old plugins.
      
      That's it, now let's hope I didn't break too many things ;-)
      c40571df
  32. 15 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 48cbd8f3
      Sam Hocevar authored
        * ALL: got rid of *_Probe functions because most of them were duplicates
          of the real _Init or _Create functions. That's 1000 lines of code gained.
        * ./src/misc/modules.c: we try not to keep the global lock in module_Need,
          which should speed up output spawning.
        * ./plugins/dummy/input_dummy.c: fixed vlc:quit command.
        * ./plugins/gtk/gtk_playlist.c: compilation fix.
        * ./plugins/macosx/*: preliminary fixes for the vout4 port.
      
         Notes on the *_Probe eradication:
        o I probably broke the DirectX video output, because of the "must init and
          run in the same thread" issue. I'll fix this ASAP.
        o Subtitles are broken (or at least, pretty ugly) in RGB mode.
        o The input plugins still have *_Probe functions. This will disappear when
          meuuh is finished with the access plugins.
        o The decoder plugins still have *_Probe functions. This is probably not
          going to change, it looks OK to me.
      48cbd8f3
  33. 28 Jan, 2002 1 commit
    • Stéphane Borel's avatar
      -Fixed ac3_spdif which has been broken recently, · 60754f11
      Stéphane Borel authored
      -Check frequency in ac3_adec and change fifo if needed,
      
      -Moved initialisation of p_aout from plugins to audio_output.c
      If audio output rate is psecified at launch time, we try to use it by default.
      
      Note that audio output currently suffers from frequent underruns.
      This has not been fixed here.
      60754f11
  34. 25 Jan, 2002 1 commit
    • gbazin's avatar
      · 595d7684
      gbazin authored
      * Added a new very simple audio plugin for Win32. This plugin uses the
          waveOut API which is a lot easier to use for streaming stuff than
          directsound. (you don't have to take care of underflows anymore
          because it doesn't use circular buffers).
          If you are having a lot of underflows, this plugin is currently
          better adapted than the directx plugin.
      
      * Moved some initialization stuff in audio_out.c so we can now the
          caracteristics of the audio stream before calling aout_Open().
      595d7684
  35. 15 Jan, 2002 1 commit
    • Cyril Deguet's avatar
      · 5e21c13b
      Cyril Deguet authored
      - added support for S8 and U16 aout (not tested)
      - The sound is very dirty in U8 mode. I don't know if it comes from the
      8 bit mode itself or from the S16->U8 conversion.
      5e21c13b