yashsingh1/xdaforums huggingface dataset:
[HTC Rezound] kkozma:
If it is, that stuff is beyond my ability.

FWIW: I don't know how many of you have car docks, but 4.3 broke the key capture on the home key. So when docked, if you pressed home, it went home home, instead of dock home. I took a look at the code and removed what looked like an extra check of whether the phone was docked after it already checked that it was docked. Seems to be working correctly now.

If I knew how to submit a patch to CM I would, but in the meantime I forked frameworks base and set it up as a remote tracking branch so it should stay updated with CM.

https://github.com/vwmofo/android_frameworks_base/commit/6687da4e48a6304123d8548cd5f69be187ba3a3f

You *SHOULD* be able to cherry pick that. Nothing has changed in phonewindowmanager.java recently.
[HTC Rezound] TheBr0ken:
You could try installing a second video player and setting that as default for playback and see if it does anything
[HTC Rezound] Snuzzo:
Kernel SMI size issue perhaps?

Sent from my ADR6425LVW using Xparent ICS Tapatalk 2
[HTC Rezound] Neo:
An awesome kernel might/could fix this ;)
[HTC Rezound] Snuzzo:
Any source modifications you want to see done just delete your fork, refork and send me a pull request.
[HTC Rezound] Snuzzo:
[MENTION=3668085]TheBr0ken[/MENTION] [MENTION=3082717]Flyhalf205[/MENTION]

Sent you guys a couple pull requests for LunarTools aosp 4.3 to reflect the new storage mounts.
[HTC Rezound] kkozma:
Anyone good at tracking wakelocks down?

I'm seeing one that unless you have a dock you won't see. It's not isolated to our phone so it can't be related to the change I made to get the dock working correctly again.

The wakelock for StartingDockService is triggered by this function in DockEventReciever.java and it is not released when the phone is undocked. I believe this has been present since at least CM10.1...

Anyone? Or can anyone point me in the direction that I might be able to track it down?
[HTC Rezound] spitzaf:
Great idea. Big step for collaborative efforts.
[HTC Rezound] Snuzzo:
Quick q for you Neo...

Want me to push funky and dsb source to the kernel tree as separate branches? They are final and now only require upstream patches unless you see a fix or 2

Sent from my ADR6425LVW using Xparent ICS Tapatalk 2
[HTC Rezound] Neo:
I don't see why not? Sounds like a good idea
[HTC Rezound] scy1192:
Has anyone tried building with the JB_VANILLA.04.02.02.060.053 Adreno drivers available at Qualcomm's site? They seem different than what's in the repo now
[HTC Rezound] Flyhalf205:
I have a while back but It won't boot.
[HTC Rezound] kkozma:
Anyone got any ideas for this?

make: *** No rule to make target `/home/vwmofo/android/Paranoid/out/target/product/vigor/obj/SHARED_LIBRARIES/librpc_intermediates/export_includes', needed by `/home/vwmofo/android/Paranoid/out/target/product/vigor/obj/SHARED_LIBRARIES/gps.vigor_intermediates/import_includes'. Stop.
[HTC Rezound] bunchies:
cant you just make a directory of: /home/vwmofo/android/Paranoid/out/target/product/vigor/obj/SHARED_LIBRARIES/gps.vigor_intermediates/

and put a empty document inside called: import_includes
[HTC Rezound] Neo:
Hah librpc.. There's a familiar error. Try pulling it from CM and try again.
[HTC Rezound] kkozma:
Supposedly this can be fixed by using hardware/msm7k according to TheBr0ken and I also so it somewhere else. But no dice.

Anyone got any other ideas?

---------- Post added at 10:38 AM ---------- Previous post was at 10:23 AM ----------

I guess that would work, but I really need to figure out why it's not being set up automatically.
[HTC Rezound] kkozma:
Screw it. I give up.
[HTC Rezound] kkozma:
Someone thanked me for giving up? Not sure how I should take that! lol

I got passed the librpc error but not really the nicest way. Does anyone know where in our CM build it tells it to parse msm7k to get to librpc?
[HTC Rezound] Neo:
Everyone! Thank the give up post!
[HTC Rezound] REV3NT3CH:
Is it for good purpose lol
[HTC Rezound] Snuzzo:
Even better. Check out my tapa sig!!
[HTC Rezound] Snuzzo:
How did you get around this?
[HTC Rezound] kkozma:
It was msm7k, you must use the CM version. I *thought* I had cloned in the CM version, but PA uses AOSP and it overwrote it when I synced back up with the PA source.

I was actually going to post here today anyways... Are you guys all still having data/ril issues in your roms or is it just mine? Something's not right in PA. Signal never moves off 3 bars, and if I lose data, it will not come back without a toggle.

Additionally, my battery life is HORRIFIC. I mean beyond miserable. I'm talking 10% battery drop with 10 minutes of usage on WiFi! So far this morning, I've lost 20% of my battery after 1hr 19 minutes. There are no wakelocks, and the phone has been in deep sleep for 1hr 2 minutes. My feeling here is the WiFi itself is draining it like a mother. PA uses AOSP wlan and wpa supplicant, do you think it's worth changing it to the CM variants? Ie, what I'm asking is are you guys with CM based ROM's seeing similar battery issues?
[HTC Rezound] Snuzzo:
WiFi in my experience has always pulled more battery than 4g on aosp ROMs. I already got the msm7k issue corrected by the time you came back(I'm brunching something totally different). I think (iirc when I was brunching ICS) I needed to disable background ap support just to help battery life some.
[HTC Rezound] kkozma:
Isn't that kind of counter productive? lol

What about data? Are you having similar issues? Another thing I've noticed is the APN list is always empty. Shouldn't it show them?
[HTC Rezound] Snuzzo:
It will pull APN from SIM.

Counterproductive; yes maybe and no. I can easily make it to where you won't have WiFi at all. :p I do sometime get reboots while switching networks and being hasty.
[HTC Rezound] kkozma:
Do any of you guys know how I can make a configuration file writeable by default when it's copied during the build process? I need it to be 660 or 666, but it shows up as 644. I tried doing it through init.rc but it didn't work.
[HTC Rezound] Snuzzo:
Add a chmod script to change it on boot in vendor and include it in the build to run at launch with init.d?
[HTC Rezound] bacon612:
I am still having data issues. Flashed neos 9/27 build earlier. Same issue. Whenever I leave a WiFi network, I have to toggle CDMA roaming mode between home and automatic. Same applies if my radio looses signal. Have to toggle again to restore data. I am CDMA roaming in Canada but it seems like we are having the same issue. Have done a clean wipe and tested with a fresh ROM. Stock kernel.

Its likely that you are having the issue less because you are on "home" CDMA and your phone doesn't have to connect to foreign networks like mine does while I am north of the border. I have been roaming up here every so often for the past year on and off with my rezound and have never had this problem. This is my theory.

*I am not a dev and if this message crosses the "don't post in here, noob" rule, please delete this post mods. I just wanted to confirm that we are likely having the same issue after those ril changes.
[HTC Rezound] REV3NT3CH:
Guys I've also dug deep into some things....I think I have an idea for the best battery for our device...I've made a list of wakelocks....of all sorts. Kernel, screen, CPU, etc related wakelocks that may fix permanently.... Just don't know where to begin
[HTC Rezound] Uzephi:
I say make a list, order it and make a full thread on what you did.

I also noticed disabling button backlight drastically dropped screen-on battery drain. (Those 4 LEDs do drain battery a lot) I got roughly 30-40 more mins screen time with those lights disabled.
[HTC Rezound] Snuzzo:
OK guys I might need a second pair of eyes in a logcat. Get with me on talk/hangouts or pm me. Thank you in advance.
[HTC Rezound] Flyhalf205:
[MENTION=2658396]kkozma[/MENTION]

What is your error that your running into building?
[HTC Rezound] kkozma:
So far, I've run into 3.

First one, you need this to fix: http://review.evervolv.com/#/c/9207/ (I realize that's evervolv, but just put the changes in the CM version)

Second one, CM did not update hardware_qcom_msm7k which we need for librpc. I forked a repo and modified it so we could get librpc back here: https://github.com/vwmofo/android_hardware_qcom_librpc

Third one was for frameworks/av: It's missing this ifdef in AudioFlinger.h in frameworks/av/service/audioflinger

#ifdef QCOM_HARDWARE

sp<EffectChain> mLPAEffectChain;

int mLPASessionId;

audio_devices_t mDirectDevice;//device for directTrack,used for effects

int mLPASampleRate;

int mLPANumChannels;

volatile bool mAllChainsLocked;

#endif

Can't remember the line number where it needs to be inserted, but compare it to the cm-10.2 version and you'll see where it goes (it's near the bottom). FYI: The files between cm10 and cm11 are VERY different.

I haven't hit any more errors yet, but I'll be shocked if there aren't any more.
[HTC Rezound] Flyhalf205:
I'm getting

including ./frameworks/support/v4/Android.mk ...

build/core/java.mk:23: *** frameworks/support/v4: Invalid LOCAL_SDK_VERSION '19' Choices are: current 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18. Stop.

real	1m25.382s
[HTC Rezound] kkozma:
I didn't get that one.. Weird. What version of Java are you running? I ran into some issues with java versions newer than 1.6 with revolt-rom, so I rolled back, maybe try that if you're newer than 1.6.

Just ran into an sepolicy stop...

device/htc/msm8660-common/sepolicy/property.te":2:ERROR 'duplicate declaration of type/attribute' at token ';' on line 8026:
type bluetooth_prop, property_type;
[HTC Rezound] Flyhalf205:
java version "1.6.0_45"

I need to remove the selinux stuff anyways. Never going to work for us.
[HTC Rezound] Neo:
I was literally just about to post this exact error lol Any ideas?

Perhaps update our java?
[HTC Rezound] Flyhalf205:
They said for right now. cm-11 will not build with java 7. "The system does build, but some parts of chromium will auto-generate invalid source files and fail miserably; for the time being, we'll have to use the 6 JDK" What a CM dev said on the Google+ page.
[HTC Rezound] kkozma:
Wow, both of you?

Bizarre!
[HTC Rezound] Flyhalf205:
Could you do a "java -version" and get the exact java version that you use?
[HTC Rezound] kkozma:
java version "1.6.0_35"

Java(TM) SE Runtime Environment (build 1.6.0_35-b10)

Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)

Another sepolicy stop. :(

device/htc/msm8660-common/sepolicy/kickstart.te":41:ERROR 'unknown type audio_data_file' at token ';' on line 7773:
allow kickstart self:capability dac_override;allow mediaserver audio_data_file:dir { open search write add_name remove_name };
# ls on /data/qcks/
checkpolicy: error(s) encountered while parsing configuration

---------- Post added 6th November 2013 at 12:12 AM ---------- Previous post was 5th November 2013 at 11:51 PM ----------

Well, now I have a new problem. Evidently out of the blue, TWRP doesn't want to make any f-ing backups. So now what?

---------- Post added at 12:27 AM ---------- Previous post was at 12:12 AM ----------

well, I'm going to bed.

Even if it builds at this point, TWRP is jacked on my phone and I can't make a backup. FUN!
[HTC Rezound] ZackehSoul:
Just hit this building for One S, just go to frameworks/support/v4 and switch LOCAL_SDK_VERSION (inside Android.mk) to current instead of 19. It continues with the build, but no idea how successful it's going to be at the end of it :p
[HTC Rezound] kkozma:
Well, I hit a roadblock this time...

audio-caf is broken big time for msm8660. LOTS of errors.
[HTC Rezound] Neo:
Hackery! lol
[HTC Rezound] percy_g2:
same here . launcher 3 make file also needs to make targeted to current .
[HTC Rezound] mjones73:
I had issues with TWRP where the auto name was too long for certain ROMs, try manually naming your back up.
[HTC Rezound] kkozma:
That was it!! THANK YOU!

So here's an interesting commit on the review site...

http://review.cyanogenmod.org/#/c/52993/
[HTC Rezound] percy_g2:
Dialer (/home/percy/cm-11/out/target/common/obj/APPS/Dialer_intermediates/classes)
packages/apps/Gallery2/src/com/android/gallery3d/util/LinkedNode.java:59: error: mNext has private access in LinkedNode
return (T) (node.mNext == mHead ? null : node.mNext);
^
packages/apps/Gallery2/src/com/android/gallery3d/util/LinkedNode.java:59: error: mNext has private access in LinkedNode
return (T) (node.mNext == mHead ? null : node.mNext);
^
packages/apps/Gallery2/src/com/android/gallery3d/util/LinkedNode.java:63: error: mPrev has private access in LinkedNode
return (T) (node.mPrev == mHead ? null : node.mPrev);
^
packages/apps/Gallery2/src/com/android/gallery3d/util/LinkedNode.java:63: error: mPrev has private access in LinkedNode
return (T) (node.mPrev == mHead ? null : node.mPrev);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

iF anyone facing this bcoz of java issues . try this

add this commit https://github.com/CyanogenMod/andr...mmit/cf85adbdcc7da814d72769f407ab783afa338a4d
[HTC Rezound] mjones73:
Yeah that drove me friggin nuts too. :)
[HTC Rezound] kkozma:
Going to take a little break from CM because I have a feeling they're in no rush to update the legacy stuff.

In the meantime, the OmniROM guys pushed a bunch of changes for QCOM stuff. All of the commits are called "QCOM's revenge". lol

Re-synced up with their stuff and have a brunch running. *crosses fingers*
[HTC Rezound] kkozma:
No dice with Omni either. :(

This is where I'm stuck. Happens in CM and Omni.

hardware/qcom/audio-caf/msm8660/AudioHardware.cpp:1710:21: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
hardware/qcom/audio-caf/msm8660/AudioHardware.cpp:1711:21: error: 'EVRCB' is not a member of 'android_audio_legacy::AudioSystem'
hardware/qcom/audio-caf/msm8660/AudioHardware.cpp:1712:21: error: 'EVRCWB' is not a member of 'android_audio_legacy::AudioSystem'
hardware/qcom/audio-caf/msm8660/AudioHardware.cpp:1713:21: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
hardware/qcom/audio-caf/msm8660/AudioHardware.cpp:1727:26: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
hardware/qcom/audio-caf/msm8660/AudioHardware.cpp:1729:26: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
[HTC Rezound] _litz:
Huh ... I just changed the SDK references from 19 to 18, and they built ...

(how critical is that, anyway?)

---------- Post added at 05:08 PM ---------- Previous post was at 04:31 PM ----------

I won't have a chance to fiddle with this 'til I get home after work, but a quick google shows this has happened before on other devices ...

http://xdaforums.com/showpost.php?p=33632055
[HTC Rezound] Neo:
If you remove the "sync -c=true" line from the default.xml then resync source, you won't have to do any changes to the make file concerning java ;)
[HTC Rezound] percy_g2:
yeah they changed sdk repo to aosp
[HTC Rezound] _litz:
Well, I tried every trick under the sun to get past the audio_caf errors ... ended up commenting those lines to see if it would get past.

It does, then promptly bombs here :

hardware/qcom/media-legacy/libstagefrighthw/QComOMXMetadata.h:24:7: error: 'android::MetadataBufferType' has a previous declaration as 'typedef enum android::MetadataBufferType android::MetadataBufferType'

(haven't we seen this before?)

---------- Post added at 10:48 PM ---------- Previous post was at 10:28 PM ----------

A simple comment gets past this error, then it bombs on Launcher3 ...

packages/apps/Launcher3/res/values/styles.xml:25: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentNavigation'.
packages/apps/Launcher3/res/values/styles.xml:35: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentNavigation'.
packages/apps/Launcher3/res/values/styles.xml:34: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentStatus'.
packages/apps/Launcher3/res/values-sw720dp/styles.xml:57: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentNavigation'.
packages/apps/Launcher3/res/values-sw720dp/styles.xml:56: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentStatus'.
make: *** [/home/litz/Android/cm11.0-rezound/out/target/common/obj/APPS/Launcher3_intermediates/src/R.stamp] Error 1

This one looks much more serious ...

EDIT :

See note a couple replies above about about the change to default.xml (e.g., manifest.xml) ...

SDK19 is required for Launcher3
[HTC Rezound] _litz:
Ok ... so with the repo fix applied to manifest.xml, I can get a little further ...

to get there, the following has to be applied :

to libc/arch-arm/scorpion/scorpion.mk in bionic :

-$(call libc-add-cpu-variant-src,MEMMOVE,arch-arm/krait/bionic/memmove.S)
+$(call libc-add-cpu-variant-src,__STRCAT_CHK,arch-arm/krait/bionic/__strcat_chk.S)
+$(call libc-add-cpu-variant-src,__STRCPY_CHK,arch-arm/krait/bionic/__strcpy_chk.S)

to BoardConfig.mk in device/htc/vigor :

-TARGET_QCOM_AUDIO_VARIANT := caf
+TARGET_QCOM_AUDIO_VARIANT := legacy

to libstagefrighthw/QComOMXMetadata.h in hardware/qcom/media-legacy :

- typedef enum {
+/* typedef enum {
kMetadataBufferTypeCameraSource = 0,
kMetadataBufferTypeGrallocSource = 1,
- } MetadataBufferType;
+ } MetadataBufferType; */

With these in place it builds past the previous errors but stops here :

device/htc/vigor/overlay/packages/apps/Settings/res/values/arrays.xml:8: error: Error: No resource found that matches the given name (at '^index_0' with value '@string/pulse_length_normal').
make: *** [/home/litz/Android/cm11.0-rezound/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp] Error 1
[HTC Rezound] Snuzzo:
Delete arrays .XML in the package overlay in the device tree.
[HTC Rezound] _litz:
Buda Bing, Buda Boom ...

Package Complete: /home/litz/Android/cm11.0-rezound/out/target/product/vigor/cm-11-20131107-UNOFFICIAL-vigor.zip

diffs/changes : http://www.litz.org/android/cm11diffs.txt

Doesn't install, though ... "Error executing updater binary in zip" ... so likely some of the tweaks to make it compile need tweaking themselves.
[HTC Rezound] kkozma:
So you switched to Audio Legacy? Don't want to insult anyone, but did you download an audio-legacy repo? They don't include that by default. I did all of those steps above with OmniROM last night and got a new bomb that you didn't run into, but I'm not near my build box. Let me post this and I'll go grab my error.

Here's my latest stumper...
[HTC Rezound] Flyhalf205:
Go flash http://d-h.st/8FW that [MENTION=3419683]Snuzzo[/MENTION] built. It has the newest code which is probably needed to flash.
[HTC Rezound] _litz:
Got it .... it'll have to wait until after work before I try it, though.
[HTC Rezound] kkozma:
Found a fix for this.

https://github.com/Evervolv/android_hardware_libhardware_legacy/commits/kitkat

Take a look at the first two commits. :)
[HTC Rezound] Neo:
Congrats on a successful compile though! Farther than I got for sure
[HTC Rezound] kkozma:
No doubt!!! Now we know it's within reach.
[HTC Rezound] _litz:
There were two key things ...

1) changing the repo line so it could use SDK19 (it will NEVER finish building unless you do that)

2) lots of stubborn-ness.

BTW, if anyone wants to try the build, it's here : https://www.dropbox.com/s/up83ac3x8v0cvkc/cm-11-20131107-UNOFFICIAL-vigor.zip

Absolutely no warranties, guarantees, and I will not replace your device if this bricks it.

anyone know when there will be a gapps package for cm11 ?
[HTC Rezound] AtomicFizzle:
One for 4.4 here - http://xdaforums.com/showthread.php?t=2012857
[HTC Rezound] kkozma:
AWWW YEAH! Now to work up the balls to flash it.

Package complete: /home/vwmofo/android/OmniROM/out/target/product/vigor/omni-4.4-20131107-vigor-HOMEMADE.zip

---------- Post added at 12:08 PM ---------- Previous post was at 11:24 AM ----------

Same as _litz. Won't install with TWRP.

Going to flash CWM, make a new backup, and try again.
[HTC Rezound] _litz:
So, to summarize the changes I did to make it build ...

in manifest.xml (before you repo sync) :

remove "sync-c="true"
add : <project path="hardware/qcom/librpc" name="vwmofo/android_hardware_qcom_librpc" />

then apply these three patch files ...

In ./bionic : http://www.litz.org/android/bionic-diff.patch

In ./device/htc/vigor : http://www.litz.org/android/device_htc_vigor-diff.patch

In ./hardware/qcom/media-legacy : http://www.litz.org/android/hardware_qcom_medialegacy-diff.patch
[HTC Rezound] kkozma:
Ok, it flashed but it won't boot. :( Unlike with 4.3 though, I have to battery pull to get it back to recovery. It does not boot back to recovery.

It's almost like it isn't mounting the filesystems. Tried to do an adb logcat while it booted and this is what I get.

- waiting for device -

- exec '/system/bin/sh' failed: No such file or directory (2) -
[HTC Rezound] _litz:
Was this with caf or legacy audio?

(I can't get past the audiopolicymanager.cpp error when trying caf)

What does the filesystem look like?
[HTC Rezound] kkozma:
In recovery the filesystem looks fine. I think it's not mounting the filesystems on init. Unfortuneately, that's above my paygrade. :(

This was with caf. Which error is it? I fixed them all on Omni.
[HTC Rezound] _litz:
this one :

hardware/qcom/audio-caf/msm8660/audio_hw_hal.cpp:275:27: error: 'class android_audio_legacy::AudioStreamOut' has no member named 'setObserver'

Have you tried to fastboot boot the boot image?
[HTC Rezound] Flyhalf205:
I got a little bit farther guys. Here is my log...
[HTC Rezound] _litz:
What did you do, to get it booting?

(and what factor do those 4.0.3 modules have on your issue?)
[HTC Rezound] Flyhalf205:
This was actually your build from http://xdaforums.com/showpost.php?p=47220926&postcount=852
[HTC Rezound] kkozma:
Ahh. That one.. CM needs to merge in the QCOM fixes in frameworks/av and frameworks/base that Omnirom uses before this will all work. I'm s-off, why would I need to fastboot the boot.img? Does CWM suck that much that it won't flash it? lol

Interesting the CM11 build starts to boot and Omnirom won't. Which recovery did you use, the one you linked to earlier?
[HTC Rezound] _litz:
I haven't actually installed my build (which is audio legacy) ... the guinea pig phone is at home, and I'm at work.

flyhalf installed my build (brave soul!), and got a boot (and immediate crash, it seems) with logcat.

Can you detail those fixes the omni rom uses?

Obviously we need to roll them into our setup to get things working for audio-caf.

---------- Post added at 02:40 PM ---------- Previous post was at 02:19 PM ----------

hmm ... so neo's been doing some check-ins ...

-TARGET_CPU_VARIANT := scorpion
+TARGET_CPU_VARIANT := cortex-a8
[HTC Rezound] kkozma:
I used cortex-a8 in my build.

There's a TON of them. We'll just have to be patient for CM to merge up the qcom fixes.

You can look in my repos (github.com/vwmofo) for the fixes to audio-caf and libhardware_legacy which will allow audio-caf to build in Omnirom.

That being said. I just resynced with Omni and they have broken something. Build fails at this:

NVM: Evidently our BoardConfigCommon needs this for Omnirom.

#Twrp

DEVICE_RESOLUTION := 720x1280
[HTC Rezound] _litz:
Tried applying your caf fixes ... tried using your entire repos in place of CM's ...

same errors ... dunno if it's even going to be possible to build caf, atm ...
[HTC Rezound] kkozma:
Like I said. Bunch of qcom commits CM is missing.

Seems that this one https://gerrit.omnirom.org/#/c/1635/

Specifically the edits to AudioHardwareInterface.h would fix that one error.

#ifdef QCOM_HARDWARE
virtual status_t start() {return INVALID_OPERATION;}
virtual status_t pause() {return INVALID_OPERATION;}
virtual status_t flush() {return INVALID_OPERATION;}
virtual status_t stop() {return INVALID_OPERATION;}
virtual int setObserver(void *observer) {return INVALID_OPERATION;}
virtual status_t getBufferInfo(buf_info **buf) {return INVALID_OPERATION;}
virtual status_t isBufferAvailable(int *isAvail) {
*isAvail = true;
return NO_ERROR;
}
#endif