Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feed back a situation. #665

Open
xuandu opened this issue Feb 28, 2022 · 0 comments
Open

feed back a situation. #665

xuandu opened this issue Feb 28, 2022 · 0 comments

Comments

@xuandu
Copy link

xuandu commented Feb 28, 2022

Hello:
I want to feed back a situation ; it is not a question;
A while ago, I asked you about how to develop a file player, and then I developed it through streaming;

In my test, I originally used openal1.17. But when I use alsourcepause, I find that the sound is not very coherent when playing again after pause; Later, I have an openal1.20(2019/11/28 gnu LGPL -Version2 June 1991, 1.20.0.0); I used it;

But I found that when all kinds of stream :fetching PCM data thread and openal rendering thread in my program stopped, the main function had ended, but the console window could not exit(the demo 's console black window ); It feels like something is stuck;

I thought it was a problem with my program, but it seems that as long as I use the playback function, this situation will appear; you can see that main fun is over, but the console-black-window is still there; Unless I finish debugging manually or kill the app;

Later, accidently, I changed to other openal1.21. It's OK when it stops; But the console has a lot of printing; I guess this problem of stuck process should have been solved; But I actually have no idea to check this problem;

In addition, when I use openal1 At 21, there is a large string of printing at the end; I don't know if it's a hint (use OK);I load and unload dynamically;


[ALSOFT] (II) Initializing library v1.21.1-ae4eacf1 master
[ALSOFT] (II) Supported backends: wasapi, dsound, winmm, null, wave
[ALSOFT] (II) Loading config \AppData\Roaming\alsoft.ini...
[ALSOFT] (II) Got binary: \demo\x64\Debug, AudioPC64.exe
[ALSOFT] (II) Loading config \demo\x64\Debug\alsoft.ini...
[ALSOFT] (II) Key disable-cpu-exts not found
[ALSOFT] (II) Vendor ID: ""
[ALSOFT] (II) Name: "Intel(R) Core(TM)"
[ALSOFT] (II) Extensions: +SSE +SSE2 +SSE3 +SSE4.1
[ALSOFT] (II) Key rt-prio not found
[ALSOFT] (II) Key resampler not found
[ALSOFT] (II) Key trap-al-error not found
[ALSOFT] (II) Key trap-alc-error not found
[ALSOFT] (II) Key reverb/boost not found
[ALSOFT] (II) Key drivers not found
[ALSOFT] (II) Starting message thread
.............

[ALSOFT] (II) Message thread initialization complete
[ALSOFT] (II) Starting message loop
[ALSOFT] (II) Initialized backend "wasapi"
[ALSOFT] (II) Added "wasapi" for playback
[ALSOFT] (II) Added "wasapi" for capture
[ALSOFT] (II) Key excludefx not found
[ALSOFT] (II) Key default-reverb not found
[ALSOFT] (II) Got message "Enumerate Playback" (0x0005, this=0000000000000000)

[ALSOFT] (II) Got device "OpenAL Soft on speaker (Realtek High Definition Audio)", "{B97BD28F-3886-4DD3-9264-84620420EE39}", "{0.0.0.00000000}.{b97bd28f-3886-4dd3-9264-84620420ee39}"
[ALSOFT] (II) Got message "Open Device" (0x0000, this=0000000000392f40)
“AudioPC64.exe”: load“C:\Windows\System32\AudioSes.dll”,Cannot find or open the PDB file
[ALSOFT] (II) Key channels not found
[ALSOFT] (II) Key sample-type not found
[ALSOFT] (II) Key frequency not found
[ALSOFT] (II) Key period_size not found
[ALSOFT] (II) Key periods not found
[ALSOFT] (II) Key sources not found
[ALSOFT] (II) Key slots not found
[ALSOFT] (II) Key sends not found
[ALSOFT] (II) Key ambi-format not found
[ALSOFT] (II) Created device 00000000003952a0, "OpenAL Soft on speaker (Realtek High Definition Audio)"
[ALSOFT] (II) Freeing device 00000000003952a0
[ALSOFT] (II) Got message "Close Device" (0x0004, this=0000000000392f40)
[ALSOFT] (II) Got message "Open Device" (0x0000, this=0000000000393080)
[ALSOFT] (II) Key channels not found
[ALSOFT] (II) Key sample-type not found
[ALSOFT] (II) Key frequency not found
[ALSOFT] (II) Key period_size not found
[ALSOFT] (II) Key periods not found
[ALSOFT] (II) Key sources not found
[ALSOFT] (II) Key slots not found
[ALSOFT] (II) Key sends not found
[ALSOFT] (II) Key ambi-format not found
[ALSOFT] (II) Created device 00000000003952a0, "OpenAL Soft on speaker (Realtek High Definition Audio)"
[ALSOFT] (II) Key hrtf not found
[ALSOFT] (II) Pre-reset: Stereo, Float32, 44100hz, 882 / 2646 buffer
[ALSOFT] (II) Got message "Reset Device" (0x0001, this=0000000000393080)
[ALSOFT] (II) Requesting playback format:
FormatTag = 0xfffe
Channels = 2
SamplesPerSec = 48000
AvgBytesPerSec = 384000
BlockAlign = 8
BitsPerSample = 32
Size = 22
Samples = 32
ChannelMask = 0x3
SubFormat = {00000003-0000-0010-8000-00aa00389b71}
[ALSOFT] (II) Post-reset: Stereo, Float32, 48000hz, 960 / 2880 buffer
[ALSOFT] (II) Key stereo-mode not found
[ALSOFT] (II) Key cf_level not found
[ALSOFT] (II) Key stereo-encoding not found
[ALSOFT] (II) Stereo rendering
[ALSOFT] (II) Channel config, Main: 3, Real: 2
[ALSOFT] (II) Allocating 5 channels, 20480 bytes
[ALSOFT] (II) Enabling single-band first-order ambisonic decoder
[ALSOFT] (II) Max sources: 256 (255 + 1), effect slots: 64, sends: 2
[ALSOFT] (II) Key dither not found
[ALSOFT] (II) Key dither-depth not found
[ALSOFT] (II) Dithering disabled
[ALSOFT] (II) Key output-limiter not found
[ALSOFT] (II) Output limiter disabled
[ALSOFT] (II) Fixed device latency: 0ns
[ALSOFT] (II) Got message "Start Device" (0x0002, this=0000000000393080)
[ALSOFT] (II) Increasing allocated voices to 256
[ALSOFT] (II) Key volume-adjust not found
[ALSOFT] (II) Created context 00000000003a38e0
[ALSOFT] (WW) Error generated on context 00000000003a38e0, code 0xa004, "Setting read-only source property 0x1027"
..................demo thread quit.........................
.[ALSOFT] (II) Got message "Stop Device" (0x0003, this=0000000000393080)

[ALSOFT] (II) Freeing context 00000000003a38e0
[ALSOFT] (II) Freed 0 context property objects
[ALSOFT] (II) Freed 0 AuxiliaryEffectSlot property objects
[ALSOFT] (II) Freed 1 voice property object
[ALSOFT] (II) Freed 1 listener property object
[ALSOFT] (II) Freeing device 00000000003952a0
[ALSOFT] (II) Got message "Close Device" (0x0004, this=0000000000393080)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant