This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! r4 buffer (4-byte aligned at least) | |
! r5 left channel (32-byte aligned) | |
! r6 right channel (32-byte aligned) | |
! r7 len (Must be multiple of 32) | |
! | |
! void snd_pcm16_split_bbh(uint32_t *data, uint32_t *left, uint32_t *right, uint32_t size); | |
! | |
_snd_pcm16_split_bbh: | |
mov #-5,r1 | |
shad r1,r7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// While updating my codebase to use .NET MAUI instead of Xamarin Forms, I had trouble accessing values I securely stored using | |
// Xamarin Essentials' SecureStorage class. The old keys I was using werent working for the new MAUI SecureStorage class. Here is a helper | |
// class that you can use to extract those old saved values. It uses the same Xamarin Essentials SecureStorage class code MINUS the Set functionality which leaves: | |
// Task<string> GetAsync(string key) | |
// bool RemoveKey(string key) | |
// void RemoveAll() | |
// IMPORTANT - Make sure you have an Entitlements.plist with the following: | |
// <key>keychain-access-groups</key> |