Share

PyAlsaAudio

Tracker: Bugs

5 PCM.setperiodsize() does not work - ID: 2826790
Last Update: Tracker Item Submitted ( nobody )

Hello,

PCM.setperiodsize() does not seem to change the period size:

>>> import alsaaudio
>>> p = alsaaudio.PCM()
>>> p.setperiodsize(2048)
940L
>>> p.dumpinfo()
PCM handle name = 'default'
PCM state = PREPARED
access type = RW_INTERLEAVED
format = 'S16_LE' (Signed 16 bit Little Endian)
subformat = 'STD' (Standard)
channels = 2
rate = 44100 bps
period time = 21333 us
period size = 940 frames
buffer time = 0 us
buffer size = 3763 frames
periods per buffer = 0 frames
exact rate = 44100/1 bps
significant bits = 16
period time = 21333 us
is batch = 0
is block transfer = 1
is double = 0
is half duplex = 0
is joint duplex = 0
can overrange = 0
can mmap = 0
can pause = 0
can resume = 0
can sync start = 1

Thanks for your work.

-- Pierre


Nobody/Anonymous ( nobody ) - 2009-07-24 21:22

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.