We can't use CXXFLAGS/LIBS/etc vars as they'll contain host info
…nstead of a fixed delay
1) do not fill m_sinkbuffer if we get silence 2) increase sleep in AddPackets from 1ms to 10ms 3) stop AudioTrack playback if we have nothing to play 4) remove deadcode and debug logging
… not the os levels
Pushing a sloppy temp commit so davilla doesn't yell at me for "hoarding". This makes a HUGE difference.
… if it wants to output
… (vs silence) and to return the number of samples taken by the output stage
This diff is nearly impossible to read, the change is very simple. Moves Neon optims to their own functions so that the runtime check is only done once when asking for a converter rather than during each conversion. TODO: Find an appropriate place in AE to cache the has_neon value.
This reverts commit 0b9beee. Reverting the AEConvert change so that it can be redone more cleanly.
This reverts commit fdc0d1f.
…s with system priority levels
if you have neon so you do not need to check each time you get an audio packet, it is not going to be changing on the fly
This optimized memcopy is already present in bionic since the early days. Some vendors further optim their memcpy for their specific hardware, so we're only hurting ourselves by overriding.
…ad was called