~diwic/apport/symptoms.oneiric

« back to all changes in this revision

Viewing changes to symptoms/_audio_data.py

  • Committer: Martin Pitt
  • Date: 2011-08-16 12:58:47 UTC
  • mfrom: (51.1.1 apport-symptoms)
  • Revision ID: martin.pitt@canonical.com-20110816125847-72tjvpbcd1yfw9q6
symptoms/_audio_data.py: As of PulseAudio 0.99, the "pactl stat" has
changed name to "pactl info".

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
 
208
208
def get_pa_default_profile(isOutput):
209
209
    ''' Returns sinkname,sinkprofile,channelcount '''
210
 
    pactlstat = command_output(['pactl', 'stat'])
 
210
    pactlstat = command_output(['pactl', 'info'])
211
211
    ss = "Default %s: (.*)" % ("Sink" if isOutput else "Source")
212
212
 
213
213
    for line in pactlstat.splitlines():