Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/multimedia/audio/qaudiodeviceinfo.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    107107    The values supported by the the device for each of these
    108108    parameters can be fetched with
    109     supportedByteOrders(), supportedChannels(), supportedCodecs(),
    110     supportedFrequencies(), supportedSampleSizes(), and
     109    supportedByteOrders(), supportedChannelCounts(), supportedCodecs(),
     110    supportedSampleRates(), supportedSampleSizes(), and
    111111    supportedSampleTypes(). The combinations supported are dependent on the platform,
    112112    audio plugins installed and the audio device capabilities. If you need a specific format, you can check if
     
    320320
    321321/*!
    322     Returns a list of supported frequencies.
     322    Returns a list of supported sample rates.
     323
     324    \since 4.7
     325*/
     326
     327QList<int> QAudioDeviceInfo::supportedSampleRates() const
     328{
     329    return supportedFrequencies();
     330}
     331
     332/*!
     333    \obsolete
     334
     335    Use supportedSampleRates() instead.
    323336*/
    324337
     
    329342
    330343/*!
    331     Returns a list of supported channels.
     344    Returns a list of supported channel counts.
     345
     346    \since 4.7
     347*/
     348
     349QList<int> QAudioDeviceInfo::supportedChannelCounts() const
     350{
     351    return supportedChannels();
     352}
     353
     354/*!
     355    \obsolete
     356
     357    Use supportedChannelCount() instead.
    332358*/
    333359
Note: See TracChangeset for help on using the changeset viewer.