VirtualBox

Changeset 54906 in vbox


Ignore:
Timestamp:
Mar 23, 2015 12:00:31 PM (10 years ago)
Author:
vboxsync
Message:

DrvHostALSAAudio.cpp: Typos, logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp

    r54811 r54906  
    849849                case 0:
    850850                {
    851                     LogFunc(("Failed to read %RI32 frames\n", cRead));
     851                    LogFunc(("No input frames available\n"));
    852852                    rc = VERR_ACCESS_DENIED;
    853853                    break;
     
    856856                case -EAGAIN:
    857857                    /*
    858                      * Don't set error here because EAGAIN means there are no ffurther rames
     858                     * Don't set error here because EAGAIN means there are no further frames
    859859                     * available at the moment, try later. As we might have read some frames
    860                      * already the need to be processed.
     860                     * already these need to be processed instead.
    861861                     */
    862862                    cbToRead = 0;
     
    874874
    875875                default:
    876                     LogFlowFunc(("Failed to read %RI32 input frames, rc=%Rrc\n",
    877                                  cRead, rc));
    878                     rc = VERR_GENERAL_FAILURE; /** @todo */
     876                    LogFunc(("Failed to read input frames: %s\n", snd_strerror(cRead));
     877                    rc = VERR_GENERAL_FAILURE; /** @todo Fudge! */
    879878                    break;
    880879            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette