ndk icon indicating copy to clipboard operation
ndk copied to clipboard

ndk/audio: swap AAUDIO_DIRECTION_{INPUT,OUTPUT} doc comments

Open pr2502 opened this issue 2 months ago • 2 comments

the doc comments were accidentally swapped when written in Rust, swap them to match the oficial documentation at https://developer.android.com/ndk/reference/group/audio#enumerations_1 and the actual behaviour of the AAudio interface

pr2502 avatar Oct 30 '25 09:10 pr2502

That happened in https://github.com/rust-mobile/ndk/pull/66, likely because the enum variants were listed in opposite order when compared to the NDK header files.

MarijnS95 avatar Oct 30 '25 09:10 MarijnS95

New Rust lints will be fixed on master later today after 1.91 releases, there's nothing you'll have to do for this to be merged :+1:

MarijnS95 avatar Oct 30 '25 09:10 MarijnS95