Skip to contentSkip to conversation

snd_pcm_avail no reliable

DISCUSSION Raymond Yau 1 participant 1 message Jun 9, 2015 10 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAN8cciZ7fsgFxzrQTHs_6cOMERsU5kzTXkFHF-WCgjrRV8jDqg@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAN8ccibd2aXx66ypAB-a3nu0KSk1N40rOCf22QbN3XN3tBkJLA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAN8cciZZ7TR0NbX-SaxkO6S4X2d+wfsEB_AMn+_f_g1CQuNh6A@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CACuU-+h9LKBaq4=e9ev2+cm_LdbMHYR8MhLjAsQNzFNrtyvU6A@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAN8cciaq7vXiF_U67rikGgD+kQHtvEF0VPb-=TESbvVuoQBKxw@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CACuU-+hi85K0=3W5YOWt3yY5H9kRK4trECJAfDfmA4WXtn6+Yw@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 2 lines

I tried using a smaller period_size (about 1/16 of hwbuf_size),

snd_pcm_avail returned a better value.

Period bytes = 2Kbytes which is still larger than the default rewind_safeguard 512 bytes

Quoted 1 line

But cpu usage moved from 1% to 4%, since we are using it in a

automotive, we don`t care about power saving, I think it is acceptable.

Quoted 2 lines

But I`m not sure if there is any other down side about "time based

scheduling" ?

Quoted 2 lines

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss