Ticket #3637 (new defect)

Opened 12 months ago

TamTam Mini/Jam/Edit doesn't release audio device properly

Reported by: pgf Owned by: alsroot
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: TamTam Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: OLPC
Bug Status: Unconfirmed

Description

none of the tamtam activities release the audio device when not using it. this will prevent an XO laptop from suspending properly, and may even prevent other programs from using the audio device.

this command can help observe that the activity is doing the right thing:

    while sleep 0.1
    do  
        egrep 'closed|state' /proc/asound/card0/pcm0p/sub0/status
    done

the output should be "RUNNING" while noise is being made, and "closed" when not.

Note: See TracTickets for help on using tickets.