Changeset 285 for trunk


Ignore:
Timestamp:
Sep 30, 2020, 12:34:51 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Suppress text console output from sound commands.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/Sound.pas

    r275 r285  
    113113begin
    114114  Result := '';
     115  // Try ffplay
     116  if (Result = '') then
     117    if (FindDefaultExecutablePath('ffplay') <> '') then
     118      Result := 'ffplay -autoexit -nodisp -loglevel quiet';
    115119  // Try play
    116   if (FindDefaultExecutablePath('play') <> '') then
    117     Result := 'play';
     120  if (Result = '') then
     121    if (FindDefaultExecutablePath('play') <> '') then
     122      Result := 'play -q';
    118123  // Try aplay
    119   if (result = '') then
     124  if (Result = '') then
    120125    if (FindDefaultExecutablePath('aplay') <> '') then
    121126      Result := 'aplay -q';
     
    136141    if (FindDefaultExecutablePath('pacat') <> '') then
    137142      Result := 'pacat -p';
    138   // Try ffplay
    139   if (Result = '') then
    140     if (FindDefaultExecutablePath('ffplay') <> '') then
    141       result := 'ffplay -autoexit -nodisp';
    142143  // Try cvlc
    143144  if (Result = '') then
    144145    if (FindDefaultExecutablePath('cvlc') <> '') then
    145       result := 'cvlc -q --play-and-exit';
     146      Result := 'cvlc -q --play-and-exit';
    146147  // Try canberra-gtk-play
    147148  if (Result = '') then
Note: See TracChangeset for help on using the changeset viewer.