AD2P - G1 Android Development

Anyone know anything about AD2p and when we might get it? or is it apart of cupcake, and if it is apart of cupcake, can i get it trough the cupcake instalation thread?

There is no more "Cupcake", all that code, has been merged into the "Master" build. A2DP is part of the roadmap, but it hasn't been implemented yet.

It is part of the cupcake branch, no word on when.
I can use it right now just fine using the cupcake 1.5 firmware.

neoobs said:
It is part of the cupcake branch, no word on when.
I can use it right now just fine using the cupcake 1.5 firmware.
Click to expand...
Click to collapse
you are saying you are using AD2P? is there a read on how to get it working?
right now i have the JF Rc30 with the rc33 radio, not sure it that will make a difference.

you need to compile the source yourself or use the cupcake images. (not sure if they are updated frequently)
After that just connect the device like normal and you will be able to do it.

and the only couple of things that are broken are camera/video camera and market apps....cupcake is pretty cool but not a daily driver, but yes A2DP works great

Camera works great (preview is B/W but pic is color) but the video camera and playback is still... buggy

hey on that note neoobs, how long of video can you record until the screen turns white and camera app crashes?

I recorded about a minute then it crashed... but it crashed when I pressed the button to end it.

r2d2 support?
when do we get it?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I had a program on my Kaiser which allowed me to listen to music through just my jawbone, not just an AD2P headset. It was called Bluetooth Audio. Maybe someone can take a look at that .cab & maybe try to convert it to an .apk? I can attach the cab if someone wants to take a look at it?

Beast84 said:
I had a program on my Kaiser which allowed me to listen to music through just my jawbone, not just an AD2P headset. It was called Bluetooth Audio. Maybe someone can take a look at that .cab & maybe try to convert it to an .apk? I can attach the cab if someone wants to take a look at it?
Click to expand...
Click to collapse
:sigh: where to begin...
Long story short, that's not gonna fly.

jashsu said:
:sigh: where to begin...
Long story short, that's not gonna fly.
Click to expand...
Click to collapse
Worth a shot...

wouldnt it be easier just to compile ad2p into a JF image?

Beast84 said:
Worth a shot...
Click to expand...
Click to collapse
what he means is that, in the cab is an application written in C compiled for windows mobile phones.. where as everything on the g1 runs java

CAB is short for Cabinet, Microsoft's archive format, supporting signing, and some other extras.
It is used as an installer for WinMob applications, as well as part of some desktop installers.
The applications that are installed with it could be written in C, C++ and anything else supported by the Compact .NET Framework (C# for sure).
And the use APIs specific to WinMob.

kash04 said:
what he means is that, in the cab is an application written in C compiled for windows mobile phones.. where as everything on the g1 runs java
Click to expand...
Click to collapse
MoridinBG said:
CAB is short for Cabinet, Microsoft's archive format, supporting signing, and some other extras.
It is used as an installer for WinMob applications, as well as part of some desktop installers.
The applications that are installed with it could be written in C, C++ and anything else supported by the Compact .NET Framework (C# for sure).
And the use APIs specific to WinMob.
Click to expand...
Click to collapse
Yea I know what a cab is & what its used for. I just wasn't sure if someone could take it apart & try to duplicate it in an apk format. I don't know anything about programming, just throwing an idea out there. Figured someone might be able to pick it up & run with it. O well...

wouldnt it be easier to just compile the ad2p into a JF image?

eosrider said:
wouldnt it be easier to just compile the ad2p into a JF image?
Click to expand...
Click to collapse
Is there an echo in here>?

No One answered... so he thought no one heard.
To me, that seems like the way it would have to go... How that's done is way beyond my scope.

Related

BLUETOOTH MANAGER FOR MAGICIAN

I want to use bluetooth manager program like blue angle or hp. It is possible to install it?
I have the same problem, posted too and no replies
dlinktm said:
I want to use bluetooth manager program like blue angle or hp. It is possible to install it?
Click to expand...
Click to collapse
can u explain what does it do?
Try this one.
It's nothing to do with me, it's just something I found lying around. It might do nothing at all, but it looks cute :wink:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BlueToothManager
Note, it should be installable anywhere. But you have to launch it twice to load it. And it only closes properly with a task killer.
V
Hello!
How this BT Manager works?
I'm using BlueSoleil BT Stack, and it works good, but sometimes it is not stable, and there are things that I cannot understand in it. And that is less graphical than yours.
So? Is it a stack for beginners with fancy graphics, or for intermediates with better graphics than Bluesoleil?
vijay555,
Good prog, but the message Please turn off Flight Mode first! sometimes appears.
message Please turn off Flight Mode first!
The message Please turn off Flight Mode first! gone by this version!!!
I'll give it a try, it looks amazing... thank you very much
vijay555 said:
Try this one.
It's nothing to do with me, it's just something I found lying around. It might do nothing at all, but it looks cute :wink:
BlueToothManager
Note, it should be installable anywhere. But you have to launch it twice to load it. And it only closes properly with a task killer.
V
Click to expand...
Click to collapse
Vijay? Is that your application, or is that the Bluetooth Manager ripped off of a Eten or Dopod ROM? Hell, if it's your application, I would sue Eten for using it (unless they buy from you?)
Just my thoughts, anyway
Cya
moghisi101: as it says in the bit of text you quoted, it's nothing to do with me, it's ripped from the Eten rom. Someone needed a bluetooth manager so I posted it up. But Eten can pay me if they want to, but I guess they'll sue me first!
V
Sorry
I tend to scan read and miss out a lot of small things...
So, does this bluetooth manager work? Anybody?
There's another thread on this manager in the development section. More people reporting they've had some success with it.
V
all work fine! THX for vijay!
vijay555 said:
There's another thread on this manager in the development section. More people reporting they've had some success with it.
V
Click to expand...
Click to collapse
Tnx, vijay! Its a greate addon for poor-functional magikans MS bt.
Only one question... com-ports?
Is it real to make them work? Or we have only FTP?
bt manager
i'v installed the manager here and its nice and all but it still a crappy one
if anyone got a bt manager the does :
1. you can see which bt device you are connected 2 and can connect/unconnect.
2. you can unpair/pair device
3. you can actually explore the divice files (like i can do with the samsung z300 i got)
it will be very helfull indeed
Does it contain A2DP?
Hi Vijay555,
I am still very poor as far as modifications on my XDA mini are concerned... I tried the bluetooth stack in the other thread, with no success (I know now that my german ROM is too old, I own ROM 1.12.01GER with Radio 1.12.00).
O2 Germany does not offer update to this version.
All I would like to do is listen to my music on a bluetooth stereo headset, which isn't working without a modification of my bluetooth components...
Can your bluetooth manager help me ? Does it deliver A2DP to my XDA mini ?
Thanks for your reply in advance,
No, I'm afraid not... but didn't you get drivers with your bluetooth headset?
Have you tried the MSI BluePlayer?
V
Hello Vijay555,
thanks for your quick answer. I did not try this yet, also there are two version of this player:
On their website the say one is for WinCE 4.2, one for WinCE 5.0...
Are those different to Windows Mobile 2003 SE (which I have), resp. which one can I take and what is the risk with it ?
Thanks a lot in advance for your help,
yours sincerely,
Windows Mobile 2003 SE is based on WinCE 4.2, so go for that one.
No risk with it, but as it's a relatively big program, I'd recommend taking a quick backup before installing, just in case.
However, it can be deleted ok. It's an interesting app, it enables stereo bluetooth... however, I think it still needs to be hacked. But try it, and let us know if it works on your set.
V
Dear Vijay555,
thank you once more for your support.
I just installed the WinCE 4.2 File, and the programm runs stable, as well as the rest of my XDAmini...
So now, I will have to buy a bluetooth stereo headset....
But which one ? Do I have to watch out for something special (specifications, manufacturer etc.) ? I would appreciate also taking telephone calls with this headset, but this is not a must...
Thanks in advance for your help on this topic, I 'll keep you updated about the progress I will face...
Yours truly,

[NEW BUILD] - WRCX Vanilla Kitchen (5.2.1437)

Whiterat & cmonex's Base Kitchen (5.2.1437)​
Core: 5.2.1437.17944.301
You will not find a more vanilla kitchen than this, There are NO OEMAPPS (besides DeviceInfo, Backlight,etc)
No Camera, No MMS,etc.
I felt this would be better for a kitchen since you can add EXACTLY what you want.
You must leave OEMDrivers contents as it is, unfortunately due to lack of space in the memorymap
I had to convert all modules to files since many were too large and overlapped important OS files.
As I said before I might take a second look at this soon.
This is also now officially OS: 6.6.6.666 !
My thanks going out to:
cmonex - My partner in crime
Bepe - Thanks for Xipport, Pkgtool and BuildOS
mamaich - Thanks for imgfs_tools
OEM Applications:
NONE!
OS Modifications
Removed:
ceipui.exe
SQM
Replaced:
mxip_notify.vol
Added:
VoIP
Remote Desktop
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Download:
Code:
http://rapidshare.com/files/44575509/WR_CX_1437_Kitchen.rar
Have Fun Guys n Gals!​
Fixes:
Office not loading
Reason: Missing MUI Files
Solution: Download Office_MUI_Fix.zip and extract contents to SYS\Office_Lang_0409 (Or \Windows if you have already flashed a rom)
Bravo, will test this @ night!
This is exactly what i needed.
Damn!
Whiterat said:
Whiterat & cmonex's Base Kitchen (5.2.1437)​
This is also now officially OS: 6.6.6.666 !
Click to expand...
Click to collapse
And the kitchen size is: 66.6 Mb
Nice touch..
Now, if we keep getting these type of releases, we need to get unified packages. Things like stripped down camera and such without all the extra BS. Packages that will work on all kitchens and releases.
Yep I can do that too
But there are many shared HTC dlls used by more than one app, e.g camera and streamer.
I'll see what I can do.
ok bro, maybe you will save our times if you did something for us, if you rebuild that without including 15342 files, let us test many of choices.
we hope to know what did you do exactly to know if it logical or not, please
BTW, downloading now to test. tnx
its right:
I'm not sure you actually understand how/what goes into a ROM and why you can only alter certain parts.
Without 15341/2 components you would have:
No Kernel (The elf kernel is close, but not close enough)
No Drivers
You cannot just swap BSP components between builds without alot of problems.
If you actually look at .318, .968 and .1413 for Wizard, They share EXACTLY the same Drivers (Maybe some have been rebased, but the code is still identical).
I do not see what you are trying to achieve by creating some (even more so) mongrel build.
Thanks whiterat, flashing now with just the os to see where i need to begin on the work. LOL. Hopefully not much. I already went through your Regfix file. Looks pretty complete to me. We will see. LOL. Love ya man!!!
Whiterat said:
its right:
I'm not sure you actually understand how/what goes into a ROM and why you can only alter certain parts.
Without 15341/2 components you would have:
No Kernel (The elf kernel is close, but not close enough)
No Drivers
You cannot just swap BSP components between builds without alot of problems.
If you actually look at .318, .968 and .1413 for Wizard, They share EXACTLY the same Drivers (Maybe some have been rebased, but the code is still identical).
I do not see what you are trying to achieve by creating some (even more so) mongrel build.
Click to expand...
Click to collapse
sorry but i hate an issue which is done by 15342, call somebody if his line is busy, then the device will show connected for 1-2 seconds then call ended, which means there is something wrong with some of 15342 dll's.
i will start working with this one, tnx.
One other thing is that OneNote Mobile is not in the rom. I will try and work on this.
you integrated HTC home on the same base rom, some people don't like that, so please do a really vanilla for this.
issues:
- Office apps. don't working
- If you missed a call when you are calling will counted as answered
ah wow thanks for the heads up on Office, I hadnt noticed.
btw, PLEASE STOP WITH THIS BUSY CALL SH!T! It cant be fixed - THE END.
Whiterat said:
ah wow thanks for the heads up on Office, I hadnt noticed.
btw, PLEASE STOP WITH THIS BUSY CALL SH!T! It cant be fixed - THE END.
Click to expand...
Click to collapse
i will try to fix it, but the problem with the same base rom which you used, if you just rebuild the same things with another base rom will fix many of 15342 issues.
keep it up
its right said:
you integrated HTC home on the same base rom, some people don't like that, so please do a really vanilla for this.
issues:
- Office apps. don't working
- If you missed a call when you are calling will counted as answered
Click to expand...
Click to collapse
The office apps I see, the missed calls, that your phone, not mine. As for htc home, I cant find any ofthe files or reg keys in this VANILLA for it. Please provide more information rather than just trying to post an issue that we have no info as to where to look.
nottoosmart said:
The office apps I see, the missed calls, that your phone, not mine. As for htc home, I cant find any ofthe files or reg keys in this VANILLA for it. Please provide more information rather than just trying to post an issue that we have no info as to where to look.
Click to expand...
Click to collapse
this thing duplicate many times, so i think many know that.
i can't know where is exactly the issue, but if this thing on the same base rom, you will never solve it.
i will try to explain more with my experiments with all base roms
why is there so few program memory if anything is installed???
This (I would imagine) is due to the fact all drivers are loaded into memory instead of into their allocated memory map - This is an ongoing problem that can and will be sorted, it just requires a bit of time.
lets build the future =]
Ok, so i was able to build a few apps into this, the only issue I have now is the Camera 3.00 from the package i used to build my Jaguar2 build gets an error that its not signed, anyone remember how to fix that?
The not signed error is the same as "you are missing files" error.
I updated SecurityOff when I released this to disable ALL requirements for signining,etc so you are simply missing a file

Script's WM6.1 Hybrid OS 5.2.19202 (Build 19209) RC1

UPLOADING!
Im uploading the ROM right now. It is going to be a while, as my cable is down. I am uploading using Internet Sharing on AT&T's EDGE network. So its going slow, and Im doing some other stuff online. But its coming!
First Release is cooking now. If everything goes well, and flashes well... It will be uploaded tonight.
Here are some of the "Technical Specs" on it. Basically what software versions it has
"ArcsoftMMS"="5_0_31_9"
"AudioManager"="1_2_1017717_q"
"BT_FTP"="1_2_33038_9"
"BT_SAP"="3_1_0_0R1"
"CAMERA"="5_04_29195_00"
"CyberonVoiceSpeedDial"="1_2_b070717_0"
"DShow"="2_00_070829_0"
"HTCHome"="2_1_1005722_0"
"HTCHome"="2_1_1005722_0"
"LockstreamDRM"="1_1_071220_00"
"mHub"="6_42_070702_X0"
"PHONE_CANVAS"="1_50_30351_0"
"PictureEnhancement"="1_50_18123121_c2"
"RingtonePlugin"="1_00_070419_0"
"QuickGPS"="1_00_919717_01"
"SMART_DIALING"="2_5_28006_6"
"ConnectionSetup"="1_0_31261_1"
"StreamingMedia"="3_00_17201121_00"
"SymbolPad"="1_0_28284_0"
"TaskManager"="2_0_31261_1"
"TouchFloSettings"="1_0_6140718_0"
"ZIP"="1_20_730720_0"
"VoiceRecorder"="1_10_611711_0"
"IdleModeTextPlugin"="1_30_28166_0"
"BT_BPP"="1_6_3_R4"
"JbedJava_3_1"="0_0_20080222_3_1"
"ConcurrenceMgr"="1_0_622717_0000"
"StartupAnimationEngine"="1_0_626715_0"
"BCR"="1_0_070724b_x"
"NetworkPlugin"="1_0_30468_1"
Sounds nice! Glad I waited before flashing with ATT's ROM. Will try yours when it's up. Have a good rest
More screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Quick Menu preinstalled, showing just a few of the programs included
- WM 6.1 Professional CE OS 5.2.19202 (Build 19209) - Modified by me : )
- Working Large Stat
- GPS Lock inside my house in less than 2 minutes
and another......
one last....
cool cant wait
ok bro close to uploading it?
leoiden said:
ok bro close to uploading it?
Click to expand...
Click to collapse
Yea, getting closer. I am updating a few HTC Releases on it, and removing some software that I cooked in, and making them optional addons.
thanks for the update
no prob. just a pain to concentrate on no sleep.
Hi,
Nice work
One tip, take HTC Large titlebar out as well.
You can't change volume during a phonecall with the scroll wheel if this is in. Very anoying bug!
Also a question to you... did you manage to fix the Touch keyboard.
I mean, does the hardware keyboard suggest words when typing?
That would be awsom!
Cheers,
Leo
Laurentius26 said:
Hi,
Nice work
One tip, take HTC Large titlebar out as well.
You can't change volume during a phonecall with the scroll wheel if this is in. Very anoying bug!
Also a question to you... did you manage to fix the Touch keyboard.
I mean, does the hardware keyboard suggest words when typing?
That would be awsom!
Cheers,
Leo
Click to expand...
Click to collapse
Good points! the large titlebar will be an optional addon for the user to install. I am currently working on a fix for the keboard as well... there HAS to be someway to fix it.
But in the meantime, i am taking a break until this evening. I am exhausted, and it is too pretty to be inside!. I need some fresh air haha..... ill talk to everyone tonight.
can't wait to try your rom
So Script, how's it going with your rom. I hope u release it soon, as im one of those who are waiting for it. Lush
looks great. especially with it being a hybrid of the two newest builds. have you tested tcpmp and flashvideo bundle with the rom?
The beta is complete! I will be uploading it when i get back to my house.
I am posting using internet sharing, on the EDGE network... soooo uploading right now would kinda be pointless. I will provide some benchmarks though.
Build #4
cool another rom to try.....loving it
ok. holding off because i just realized something bad wrong.
if someone could help me, it would be great!
after flashing and setting up the internet automatically, phone will not sync ota, nor will pocket ie work. opera, and other apps will connect fine. ideas?
Script said:
ok. holding off because i just realized something bad wrong.
if someone could help me, it would be great!
after flashing and setting up the internet automatically, phone will not sync ota, nor will pocket ie work. opera, and other apps will connect fine. ideas?
Click to expand...
Click to collapse
at&t hidden proxy settings may be?
pvenkat said:
at&t hidden proxy settings may be?
Click to expand...
Click to collapse
^^^
First thought. Nope
Im uploading it anyway. Once i figure it out ill post a cab to fix it, and upload a new build

Skyfire Download for everyone !!!

I just got it and it works !!!
get it here : http://get.skyfire.com/
Screenshot :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
not working yet for OMNIA
Hi,
unfortunately not working on OMNIA screen
only supporting 240,320,480,640
Working well in the UK on my hermes. No need for fake American phone numbers.
Edit:
No sound on videos. Anyone else have this issue, or is it just me?
I am sure it is a good browser. The thing that just bothers me, is, that everything is rendered at the SKYFIRE servers - now, for getting the web content including flash, jave and multimedia on my phone ... well, excellent job! However, I have some security concerns regarding online banking and other stuff I do in the web, so, I most likely won't use it because of the rendering / generating of code at the Skyfire server!
Sure, the developers will tell me "It is 100% save" but then, ... I guess you got my point?
<Just my personal opinion - I am sure lots of users will be happy with Skyfire!>
which version is it? is it different from the beta versions like 0.8xxx (i guess it is something like that)
Its still a beta, version 0.85.0.7927. Seems about the same, but there's no need to log in.
jez83uk said:
Working well in the UK on my hermes. No need for fake American phone numbers.
Edit:
No sound on videos. Anyone else have this issue, or is it just me?
Click to expand...
Click to collapse
Yep, sound is also not working for me
Still no multi-tab pages?
No Good for WVGA.
no mulitab but you can download stuff now
Works well on MDA Compact 4, nice to have full video etc when on wifi. Might be able to finally uninstall Opera mini (though it has been a good browser!!).
Works awesome on my HTC Wizard
Two nights ago I got bored with my htc wizard, had only wm5. I googled htc tweaks and found xda... my personal heaven now. two days later I have a phone I'm actually interested in.. with Wm6, SKYFIRE ( totally cool ) and a bunch of other apps I never knew existed. I didnt find a thread to say thanks to xda developers... but thanks... really.
btw, can anyone tell me what direction to step in if I want to learn about programming and writing software like the cool stuff I found on xda please?
Daniel
Skyfire's sound problem
There are no sound on athena x7501.
Just used it again, and the sound is now working. I didn't change anything, so it must have been a server issue.
2ndhandcowboy said:
... can anyone tell me what direction to step in if I want to learn about programming and writing software like the cool stuff I found on xda please?
Daniel
Click to expand...
Click to collapse
The easiest way to get started is VS2008 but it is also commercial!
The good: It has a very nice user interface, excellent editor for writing code (with VISUAL Editor, so, not only script based) and finally as well a WINDOWS MOBILE EMULATOR integrated, so, you won't mess up your real device in case you make a mistake!
Besides that, VS2008 features different programming languages: Basic, C#, C++, Java - if you really want to program professionally, the only way to go would be C++. Other than that, I would recommend get started with Visual Basic - the language is easier to learn.
My recommendation:
Download one of the VS2008 EXPRESS Editions - it is freeware! Make some simple Windows desktop programming to get familiar with the interface and the programming language you have chosen. Join as well the MSDN Forums, hang out at www.codeproject.com - a great place snd source for programming techniques and code samples - and if you're finally still interested in programming, get the commercial version of VS2008 and start programming as well for PDA and Smartphone - it is really fun, trust me!
Sure, some people might come up now with the good old "It is .NET!" arguement, well, sure it is .NET! .NET is part of Windows since Windows XP SP1 and now also fully integrated in WM6.1, so, no big deal! For older platforms, the .NET distributables are available for free download.
However,
Try out cool stuff like this, go through the code to understand what it does, program your own little helpers and once you master it, you will have an easier intro to non-.NET C++ programming (which then will provide you with the full power of programming. The reason why I recommend VS2008 at first, it is very easy for non-Programmers to do stuff in there. You will in addition find millions of places / forums with how-to's.
If you make a quick jump to C++ directly (non-VS) then you most likely will get frustrated very soon since documentation and everything else is mostly written for people who know C++ inside out - VS takes you into the programming world slightly and there is much more help and lots of beginner guides available - this is why I recommend it to beginners, not to promote .NET.

Audacity 2.0.2 for WinRT

As I've noticed requested a few times, Audacity for WinRT.
It's completely untested (except for starting up) at the moment - it's too loud where I happen to be for me to do much in the way of other testing. It did happily start up, though, once I got past:
Code:
# pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df'\"")
There's some potential breakage in a few places because it was using specialized functions for rounding; as well, most of the architecture-specific code was replaced with the generic versions. (Audacity has support for ARM, but it looks like it's only on Linux, and would require gcc to compile the ARM optimizations.)
Chris
EDIT: Added the source diffs. Most of the changes are to the build options (the diffs contain the migrated VS2012 project files as well) - apply with "cat patch | patch -p1" from the respective source directories. There's a patch included for both Audacity and wxWidgets, both working. The base tarballs can be found at the respective project websites.
wxWidgets: Don't let VS2012 build it automatically. As discovered by a few other people on some of the Win8 threads, VS2012 manages to start multiple processes that try to lock the same log file simultaneously and so the build breaks. I worked around this by building just the subprojects that I needed one at a time (right click on the project, build only [project].)
Audacity: Nothing major here except for disabling any and all inline assembler and letting it fall back on generic C/C++ defaults instead. The build doesn't end up copying the Nyquist files into the win\ARM\Unicode Release directory but since this seems like all it's doing is a straight copy operation, it shouldn't be a problem. Help isn't included (I haven't installed Python on any of my Win8 Pro installs yet, which is required to build the Audacity help), nor is it localized. Instructions for both are included in the Audacity source.
EDIT 2: Got a build of lame 3.99.5 for WinRT here:
http://forum.xda-developers.com/showpost.php?p=36968027&postcount=13
Follow the instructions in the post to add MP3 export support to Audacity.
EDIT 3:
Full source code for Audacity and wxWidgets:
https://www.dropbox.com/s/jvttp9em9w3xuon/audacity-winrt.zip
This is the full source used for building Audacity 2.0.2 and wxWidgets 2.8.12 for WinRT. The license is included in the ZIP file (audacity-src-2.0.2\LICENSE.txt - GPLv2; wxWidgets-2.8.12\docs\license.txt, wxWidgets-2.8.12\docs\lgpl.txt - LGPLv2 with additional rights). The Audacity build has been updated as well to include the license of both wxWidgets and Audacity.
Thanks for your work but I think you should post this in the Windows section specifically, threads get lost in this section quickly.
I would be posting it there but the entire Win8 section is blocked off to me until I manage to get in another 4 posts...
eksasol said:
Thanks for your work but I think you should post this in the Windows section specifically, threads get lost in this section quickly.
Click to expand...
Click to collapse
Nice job, thank you! Added to the list.
Anyone know if lame_enc.dll would be possible to also get compiled for ARM? Otherwise it's impossible to export to MP3.
jhoff80 said:
Anyone know if lame_enc.dll would be possible to also get compiled for ARM? Otherwise it's impossible to export to MP3.
Click to expand...
Click to collapse
It should be possible. As far as I'm aware, lame is pretty cross-platform already, so if anything it might be that the generic version of the code has to be built with vc2012 instead of an ARM-optimized port. I might take a look at that tomorrow.
works perfektly !
Thank you very much, this is working perfectly on my Surface!
Anyone come across any usb audio interface that works with Surface?
Also... I get this error when trying to run Audacity.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
lucas.scott said:
Anyone come across any usb audio interface that works with Surface?
Click to expand...
Click to collapse
The Sound Blaster X-Fi seems to work.
Sebasssss said:
The Sound Blaster X-Fi seems to work.
Click to expand...
Click to collapse
Isnt that PCI not USB?
Edit:
Nevermind, I see there are several. Id be looking for one with XLR jacks.
@lucas.scott: Hm. That import comes from msvcp110.dll - the C++ runtime library.
What's the version of C:\Windows\System32\msvcp110.dll on your system? On my system (which it seems to work fine on), Explorer says it's "11.0.50727.1", with a timestamp of 10/1/2012 9:31pm.
(There is another version of msvcp110.dll on the system, sitting in \Program Files\WindowsApps\Microsoft.VCLibs.*, of various versions; I bet those are there only to support Metro apps, but I could be wrong. In either case, the 11.0.50727.1 version pulled off my RT device has the export mentioned,)
Might be a missing update somewhere?
I've got a build of lame 3.99.5 done for WinRT as well.
In the archive is libmp3lame.dll - Audacity looks for this as lame_enc.dll, so:
Code:
copy libmp3lame.dll \path\to\audacity\lame_enc.dll
and MP3 export should work fine. As well, it's got the command line version of lame in the package as well - I think that depends on the original name.
irony_delerium said:
wxWidgets: Don't let VS2012 build it automatically. As discovered by a few other people on some of the Win8 threads, VS2012 manages to start multiple processes that try to lock the same log file simultaneously and so the build breaks. I worked around this by building just the subprojects that I needed one at a time (right click on the project, build only [project].)
Click to expand...
Click to collapse
I took a swing at Audacity myself and this problem drove me nuts! Wow.
Thanks for your work! Much appreciated!
irony_delerium said:
@lucas.scott: Hm. That import comes from msvcp110.dll - the C++ runtime library.
What's the version of C:\Windows\System32\msvcp110.dll on your system? On my system (which it seems to work fine on), Explorer says it's "11.0.50727.1", with a timestamp of 10/1/2012 9:31pm.
(There is another version of msvcp110.dll on the system, sitting in \Program Files\WindowsApps\Microsoft.VCLibs.*, of various versions; I bet those are there only to support Metro apps, but I could be wrong. In either case, the 11.0.50727.1 version pulled off my RT device has the export mentioned,)
Might be a missing update somewhere?
Click to expand...
Click to collapse
So i took a look at msvcp.dll.
Its ver. 11.00.50531.1
So thats noticeably later than what you are running. Any ideas as to why that is? My system is up to date.
lucas.scott said:
So i took a look at msvcp.dll.
Its ver. 11.00.50531.1
So thats noticeably later than what you are running. Any ideas as to why that is? My system is up to date.
Click to expand...
Click to collapse
Hm. I haven't got a clue. The only thing I can come up with is that I haven't gone through and updated VS2012 to it's latest patch yet, but that doesn't add up as far as the binaries go...
I'd also expect Windows to be telling you that it couldn't find that import in C:\Windows\System32\msvcp110.dll, not ...\Audacity\Audacity.exe, which being a program, has no exports.
What is winrt?
Sent from my Galaxy Nexus using Xparent Blue Tapatalk 2
I'll need to check out this port. I hope I don't get the DLL conflict. I am getting it with Dosbox and I still unsure what it could be.
Same issue
lucas.scott said:
Anyone come across any usb audio interface that works with Surface?
Also... I get this error when trying to run Audacity.
I'm getting the same error when I try to run Audacity. Did you ever get this resolved?
Click to expand...
Click to collapse
Right, since I don't know if this will fix it or not (probably not, if my scanning the list of imports is correct, but it's worth a try):
I just rebuilt Audacity, same version, slightly different options (non-Unicode build).
If this doesn't fix it, about the only other thing I can think of to do is to toss the copy of msvcp110.dll that came from my system, since it seems to be working.
Chris
(Yes, I know, it's named ".zip.zip". That's what I get for quickly renaming the file from "Audacity" to "Audacity-2.0.2.zip". Still need to tweak a few settings on this copy of Windows like "always show the file extension". Oh well.)

Categories

Resources